N
Nigel Stratton
I have a scrollable datagrid which is created by having
DataGrid (Header only)
<div Overflow=auto>
DetailGrid (without header)
</div>
My problem is the grid is dynamically created and the widths of the detail
columns are determined at runtime according to the content. What I want to
do is populate the detail grid, then take each column's width and set the
corresponding column in the header to the same width. The only problem is
where ever I try to determine the headers column width I always get a width
of 0.
Any ideas?
DataGrid (Header only)
<div Overflow=auto>
DetailGrid (without header)
</div>
My problem is the grid is dynamically created and the widths of the detail
columns are determined at runtime according to the content. What I want to
do is populate the detail grid, then take each column's width and set the
corresponding column in the header to the same width. The only problem is
where ever I try to determine the headers column width I always get a width
of 0.
Any ideas?