Hi there,
Is is possible to set Min and Max column widths for the WebHierarchicalDataGrid?
Thanks
Deon
Thank you, i have no more questions.
Hello Deon,
Thank you for the update. Concerning doing this one he child bands. Each band has its own behaviors collection. So to achieve this on the child bands you would enable ColumnResizing on those bands and then setup ColumnResizeSetting for the columns you want to set a min and max width.
Please let me know if you have any further questions concerning this matter.
Hi Mike,
This method does not seem to work on the 2nd and 3rd level of my WebHierarchicalDataGrid. There are no errors, but the minimum widths are ignored.
Regards
Thank you for contacting Infragistics.
I have done some looking into this matter and have found that you can achieve this by enabling the ColumnResizing behavior and setting column settings for the columns you want a min and max width set. For example:
<Behaviors> <ig:ColumnResizing> <ColumnSettings> <ig:ColumnResizeSetting ColumnKey="Name" MaximumWidth="200px" MinimumWidth="100px" /> </ColumnSettings> </ig:ColumnResizing> </Behaviors>
<Behaviors>
<ig:ColumnResizing>
<ColumnSettings>
<ig:ColumnResizeSetting ColumnKey="Name" MaximumWidth="200px" MinimumWidth="100px" />
</ColumnSettings>
</ig:ColumnResizing>
</Behaviors>