-
Adding Units
Hi I need to add the final width of the first 3 columns of my grid but dont know how to add units. I tried:
DataGrid1.Columns(0).HeaderStyle.Width + DataGrid1.Columns(1).HeaderStyle.Width
but it said no dice, if anyone has any guidance I'd appreciate it.
-
Width is adjusted at render time on the client browser based on table cell contents.
The only way to maybe get these is through some javascript or something, but then that will only be after the page has been displayed. Or, you can manually set the column widths in the designer.