Copying column defs from one grid to another
Copying column defs from one grid to another
Hi
Is it possible to initialize a grid using the column definitions of another grid?
I am re-creating my grid at certain times, however, while the grid data changes the columns remain the same. I would like the new grid to preserve the column settings that the user had in the old one (such as column sizes, visibility, ordering, etc). The data is not connected to a server so I'm just looking for a way to take an array of column settings or the like and apply them to the grid.
Thank you in advance.
Is it possible to initialize a grid using the column definitions of another grid?
I am re-creating my grid at certain times, however, while the grid data changes the columns remain the same. I would like the new grid to preserve the column settings that the user had in the old one (such as column sizes, visibility, ordering, etc). The data is not connected to a server so I'm just looking for a way to take an array of column settings or the like and apply them to the grid.
Thank you in advance.
This discussion has been closed.