Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get grid's column widths
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00962477
Message ID:
00962625
Views:
11
Hey, Einar,

Just to follow up on what Vlad responded with - you should be able to accomplish this with the Winforms datagrid. (This was posted in the Winforms area, so I assume you're talking about the Winforms grid...if not, then you can ignore this message).

But if it is for the winforms grid, tip #13 from my dataGrid article in CoDe shows how to save grid columns widths to an XML settings file. You can grab the column widths from a grid's tablestyle...
myGrid.TableStyles[0].GridColumnStyles[nColumnNumber].Width;
Hope this helps...
Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform