Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
Persisting of column width
posted

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?