In my code behind I'm specifying the width of certain columns (not all), for example:
ColumnName.HeaderStyle.Width = Unit.Pixel(40);
This works fine when you set AllowScroll equal to true (see attached image - allowscroll-true.jpg):
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
The problem is when you set AllowScroll equal to false it removes the width of the column (see attached image - allowscroll-false.jpg)
Is there any way to define the column width while still having allowscroll equal to false?
ColumnName.HeaderStyle.Width = Unit.Pixel(40);
This works fine when you set AllowScroll equal to true (see attached image - allowscroll-true.jpg):
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
The problem is when you set AllowScroll equal to false it removes the width of the column (see attached image - allowscroll-false.jpg)
Is there any way to define the column width while still having allowscroll equal to false?