Hi,
I'm using a datagrid on a webform with 4 visible and 1 invisible columns.
When clicking a button I want to make the invisible column visible. I use the
code
DataGrid1.Columns(4).Visible = True
All fine, but the problem is that the columnwidth changes of all the
columns. I would be nice if columns 1 ... 3 have the same width. So column
width 4 + 5 = constant.
The datagrid has a width 980 px
In the Property builder I set the column width properties to
Column 0 20 %
Column 1 20 %
Column 2 20 %
Column 3 20 %
Column 4 20 %
Working with a datagrid on a Windowsform you can use tablestyles, but how
does it work on a webform?
Many thanks,
Willem