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. Advertisements

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. AndrewF
    Replies:
    1
    Views:
    1,037
    Bruce Barker
    Oct 10, 2005
  2. Cal
    Replies:
    1
    Views:
    673
    Tim B
    Jan 8, 2007
  3. ssk
    Replies:
    5
    Views:
    6,412
    Jukka K. Korpela
    Oct 30, 2006
  4. Replies:
    6
    Views:
    3,370
    connie truong
    Feb 1, 2011
  5. hansiman

    Image in header column (not replacing column header text)

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

    DG Column Width vs Table Column Width

    Carl Howarth, Oct 22, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    458
    Eliyahu Goldin
    Oct 24, 2004
  7. Replies:
    2
    Views:
    377
    jyoti
    Aug 19, 2006
  8. Dave
    Replies:
    1
    Views:
    175
    Manish Bafna
    May 9, 2007
Loading...