GridView formatting for numerical fields.

Last post 04-22-2006 9:24 AM by madvisualbasic. 1 replies.

Sort Posts:

  • GridView formatting for numerical fields.

    04-22-2006, 4:44 AM
    • Member
      733 point Member
    • suhash
    • Member since 12-25-2005, 9:42 PM
    • Posts 164

    Hi All, 

    Quck question regarding GridView formatting.

    I have a gridview that pulls over 20 rows from a DB and displays that in a web form (very wide).  There are some numerical fields amoung these fields.  When I display them in the GridView, the numecial values comes in two lines instead of one (big values 90,993,783,000).

    Is there anyway I could force the control to dynamically change its size (column width) to accomodate this long numerical fields in one line please?

    Thank you in advance.

    Mal.  

  • Re: GridView formatting for numerical fields.

    04-22-2006, 9:24 AM
    Select GridView, click on 'Edit Columns...', select the desired column, and from field properties expand ItemStyle then change Wrap property to false.
Page 1 of 1 (2 items)