Column width can't be set when hiding header?

Discussion in 'ASP .Net Datagrid Control' started by Kim Quigley, Jun 7, 2005.

  1. Kim Quigley

    Kim Quigley Guest

    I just noticed a possible issue with the datagrid today. I have 4 bound
    columns in a datagrid and I unchecked "Show header" because I don't want the
    header to appear. I went under Format and set the column width of each
    column. When I built the project and looked at the datagrid, the columns
    were not the correct width that I had specified. I viewed the HTML source
    and there was no width attribute in the td tags. So I went back to my
    project, checked "Show header", saved and refreshed. This time, the columns
    were the correct width.

    Is this a known issue and is there a workaround?

    Thanks!
    Kim
     
    Kim Quigley, Jun 7, 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. Cal
    Replies:
    1
    Views:
    534
    Tim B
    Jan 8, 2007
  2. hansiman

    Image in header column (not replacing column header text)

    hansiman, Feb 5, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    3
    Views:
    311
    hansiman
    Feb 7, 2004
  3. Carl Howarth

    DG Column Width vs Table Column Width

    Carl Howarth, Oct 22, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    267
    Eliyahu Goldin
    Oct 24, 2004
  4. Replies:
    2
    Views:
    246
    jyoti
    Aug 19, 2006
  5. Dave
    Replies:
    1
    Views:
    119
    Manish Bafna
    May 9, 2007
Loading...

Share This Page