Hi
On my project I have the following case of working with column sizes:
1. On the first load of the grid column should autosize its width to fit the data in its cells
2. If data changes and it needs more space than column should be resized to fit the data
3. If data changes and it needs less space than column should not be resized
4. If user changes the width of the column than I should save its width and disable column resizing mechanism. (I have custom format for storing changed width of the columns)
I have an issue:
There is no difference between resizing of the column by grid (autosize) and resizing of the column by user.
How can I differentiate autosize and manual resizing?
Hi,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Hi Stefan,
As of v11.2 there is still no XamDataGrid.FieldWidthChanged event. The XamDataGrid.SaveCustomizations method will persist the field widths but this is not much use if we cannot detect when the width has changed.
Is there any intention to add this event to the XamDataGrid or am I just not finding it ?
Thanks.