unable to limit width of datagrid column

Discussion in 'ASP .Net Web Controls' started by Craig Traxler, Feb 26, 2005.

  1. I am unable to limit the width of a column in a datagrid and not have the
    column wrap text. I would prefer the column just clipped. The column is a
    hypertext column and I have unchecked wrap text on the column properties in
    the format tab of the property builder. I have also set wrap text property
    to False in the ItemStyle property on the properties dialog for the DataGrid
    control. Any suggestions?

    FYI, I looked for help and saw references to the TableStyle property for the
    DataGrid. I do not find this property in the properties dialog and am unable
    to reference it in code in the .vb file for the form. Not sure if this issue
    is related.

    I am developing in VB.
     
    Craig Traxler, Feb 26, 2005
    #1
    1. Advertising

  2. Craig Traxler

    Alex Homer Guest

    These might help...
    http://www.daveandal.net/books/6744/webforms/sizemulticontrolgrid.aspx
    http://www.daveandal.net/books/6744/webforms/scrollitemgrid.aspx


    "Craig Traxler" <Craig > wrote in message
    news:...
    > I am unable to limit the width of a column in a datagrid and not have the
    > column wrap text. I would prefer the column just clipped. The column is

    a
    > hypertext column and I have unchecked wrap text on the column properties

    in
    > the format tab of the property builder. I have also set wrap text

    property
    > to False in the ItemStyle property on the properties dialog for the

    DataGrid
    > control. Any suggestions?
    >
    > FYI, I looked for help and saw references to the TableStyle property for

    the
    > DataGrid. I do not find this property in the properties dialog and am

    unable
    > to reference it in code in the .vb file for the form. Not sure if this

    issue
    > is related.
    >
    > I am developing in VB.
     
    Alex Homer, Feb 27, 2005
    #2
    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. AndrewF
    Replies:
    1
    Views:
    844
    Bruce Barker
    Oct 10, 2005
  2. Charleees
    Replies:
    2
    Views:
    8,279
    Eliyahu Goldin
    Jun 20, 2006
  3. ssk
    Replies:
    5
    Views:
    5,683
    Jukka K. Korpela
    Oct 30, 2006
  4. David Basford
    Replies:
    3
    Views:
    2,524
    BootNic
    Sep 30, 2007
  5. Carl Howarth

    DG Column Width vs Table Column Width

    Carl Howarth, Oct 22, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    292
    Eliyahu Goldin
    Oct 24, 2004
Loading...

Share This Page