Dynamic Scrollable Grid

Discussion in 'ASP .Net Datagrid Control' started by Nigel Stratton, May 20, 2005.

  1. 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?
     
    Nigel Stratton, May 20, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?cG11ZA==?=

    Only Data Grid should be scrollable!

    =?Utf-8?B?cG11ZA==?=, Jan 26, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    515
    =?Utf-8?B?cG11ZA==?=
    Feb 1, 2005
  2. Cristof Falk
    Replies:
    1
    Views:
    479
    =?Utf-8?B?U2hhamk=?=
    May 13, 2005
  3. =?Utf-8?B?U3RldmU=?=

    Scrollable Data Grid

    =?Utf-8?B?U3RldmU=?=, Feb 11, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    329
    Sonu Kapoor
    Feb 12, 2006
  4. sonali
    Replies:
    1
    Views:
    3,486
    eliza81
    Mar 8, 2010
  5. tshad

    Scrollable Grid

    tshad, Sep 5, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    497
    tshad
    Sep 5, 2007
Loading...

Share This Page