This is a migrated thread and some comments may be shown as answers.

Grid Settings Persister not picking up the resized column widths

1 Answer 111 Views
Grid
This is a migrated thread and some comments may be shown as answers.
paul
Top achievements
Rank 1
paul asked on 20 Feb 2011, 08:53 AM
Hi
I am using Telerik radgrid with user defined columns to have custom filter controls.
 I have specified the headerstyle-width to a default column width and allowed some columns to be resizable. When the user resizes the grid and hits on sort or does any postback the column widths are not being retained.
I then went for the GridSettingsPersister class and called the persist method to save to session as shown in the demo after the column is resized. When i firebug the window the colgroup has the col width that the user resized but unfortunately this is not being picked up in the
GridSettingsPersister.GetColumnSettings. The value that is being picked up is the default headerstyle-width that I had given.
Is this because I am using user defined columns?


Any help would be appreciated as i seem to be stuck at dead ends whatever i try.

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 24 Feb 2011, 09:46 AM
Hello paul,

This scenario is fully supported in RadGrid and the settings persister. You can note the RadGrid Persisting Settings On a User Basis demo shows RadGrid with user-defined columns persisting column widths as expected. You may want to check what aspects of your grid differ from the demo.

Veli
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
paul
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or