I want to be able to allow the user to move columns around then automatically save the layout, next time they open the program, automatically load the saved layout.
I have looked through the forums for some hint as to how to do it. does anyone have any sample code on how to save and load grid layouts?
vb.net would be preferred, but C#, I cna convert.
Thanks
There is a section in the help titled Save and Load a Layout to a File which shows code for saving and loading via an xml file. You can also save as a binary if you prefer that. I send them off into a SQL Server table myself. I think there may be an exmaple of that somewhere also if thats what you want to do.
Nick
wow, that was easier then I thought. I guess I was using the wrong keyword...
My question now is, besides mouse donw/up event. Doesn the grid have an event that fires when a column header is moved?
So far I can't find one.
NOTE: Found the property to handle this. thanks