Change width from columns in datagrid

NicoVB

Well-known member
Joined
Jan 2, 2002
Messages
160
Location
Belgium
How do you do this? The help says that I must look at the tablestyles collection. But I dont use this collection because my table style is good allready. I dont understand the system of the table styles. Could someone explain me the system?
 
Thanks, allready solved it: I had a problem because I didnt know that I must set the value of the property Mapping
 
I think you need to use the GridTableStylesCollection with a new DataGridTableStyle to define individual column widths. Not 100% sure as I havent used the .NET grid too much, but I think thats the route to go.

-ner
 
Back
Top