Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataGrid Colum Visible/Invisble
Message
From
08/05/2004 18:24:40
 
 
To
08/05/2004 12:41:46
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00902200
Message ID:
00902233
Views:
11
Lee,

The documentation for this is pretty good ... you have to basically create a "custom" DataGrid. Go to the help, and look up DataGridTableStyle, read the "About" topic. Lots of good stuff there. Also, at the end of the article, under the "See also" stuff, check out the "Adding Tables and Column to the Windows Forms DataGrid Control" link.

Hope that helps you ...

~~Bonnie


>Since for some reason MS decided to leave the .Visble property off of the Windows Forms DataGridColumnStyle, have any of you found elegant workarounds to making a column visible/invisible? At the moment I'm planing on setting it's width to 0 to hide it, but that means saving it's real width somewhere so I can set it back, and I hate doing things that feel "kludgy". :)
>
>-----
>Lee Perkins
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform