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
5549
Best way to save konfiguration of a grid
posted

Hi there , i have (for example) the following grid

header->test1,test2,test3,test4

now i want that the user can (maybe in an other config form) choose the order of the header (grid) or say that he don't want to display column test3

user config grid

test4,test1,test2

this i want save and if the user wanna see again the grid it should build up like the configuration. 

 

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Martin,

        You can allow the user to move or hide columns in the grid very easily.  Set AllowColMoving (on the Override) for column moving. And you can use the ColumnChooser to let them hide columns (see the RowSelectorHeaderStyle property on the override for the easiest way to do this). 

        Saving and loading the layout is also pretty easy. Just use the grid.DisplayLayout's Save and Load methods (or SaveAsXml and LoadFromXml).  

Reply Children