Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Dynamic Scrollable Grid

Thread Tools

Dynamic Scrollable Grid

Nigel Stratton
Posts: n/a
I have a scrollable datagrid which is created by having

DataGrid (Header only)
<div Overflow=auto>
DetailGrid (without header)

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?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scrollable Grid With Fixed Header (Please Help Its Urgent) sonali ASP .Net 1 03-08-2010 12:06 PM
Scrollable Grid tshad ASP .Net 3 09-05-2007 06:38 PM
Scrollable Data Grid =?Utf-8?B?U3RldmU=?= ASP .Net 3 02-12-2006 02:43 AM
Scrollable grid with locked header/left columns? Cristof Falk ASP .Net 1 05-13-2005 08:00 AM
Only Data Grid should be scrollable! =?Utf-8?B?cG11ZA==?= ASP .Net 3 02-01-2005 04:37 PM