Dynamic Scrollable Grid

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top