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
4341
Column Chooser Selected rows
posted

Hello Support,

We have associated a grid to an Column chooser, we want to stored the positions of the columns, so next time we load the application we can get the same position which was selected last.

For eg. We have a grid as follows

ID          Description               Status          Date               Year

Suppose we change the cloumn position the grid data would be displayed as follows

ID          Description               Year           Status          Date              

We want to maintain this state for the next time when we load the gird.

In the column chooser we have set the :

ultraGridColumnChooser1.ColumnDisplayOrder = ColumnDisplayOrder.SameAsGrid

In the column chooser the columns are displayed in proper order ie ID,description , Year, status, date, but when we loop through the columnchooser we get the columns as  ID,description , status, date,Year.

Is there any other way we can get the positions of the columns which are visible  in the grid or column chooser ?

Note : We tried getting the ColumnVisible position also, but it didnt work as we have few hidden column which are not visible in columnchooser also.