>Is there a simple means of persisting a grid's column widths? We have some columns whose data width can sometimes extend beyond the default width of the grid column. There is not enough room to display all columns in the grid though so if a user extends the width of column1 then column6 is no longer visible (without scrolling). Some users would like to see changes to grid column widths persist though. Is there a simple means of doing this? Where to store the information?Persist for how long? While the program is running or outside of the program?
If it is while running I would create a property in your grid subclass. Maybe an array property to keep the starting width of each column and to save the new width when changed.
If you need it outside, then that array has to be posted to an external file (dbf, INI, XML, Reg, [you pick]), and restored upon instantiation.