Q: datagrid column fit

Discussion in 'ASP .Net' started by =?Utf-8?B?SklNLkgu?=, Mar 21, 2005.

  1. Hello,
    How can I get data grid column width fit the data automatically?
    Thanks,
    Jim.
     
    =?Utf-8?B?SklNLkgu?=, Mar 21, 2005
    #1
    1. Advertising

  2. Re: datagrid column fit

    Jim,

    That's what browser tries to do for you. What is your particular problem?

    Eliyahu

    "JIM.H." <> wrote in message
    news:...
    > Hello,
    > How can I get data grid column width fit the data automatically?
    > Thanks,
    > Jim.
    >
     
    Eliyahu Goldin, Mar 21, 2005
    #2
    1. Advertising

  3. Re: datagrid column fit

    I have a dateTime field and it is not show in one line, it is three lines
    actually.

    "Eliyahu Goldin" wrote:

    > Jim,
    >
    > That's what browser tries to do for you. What is your particular problem?
    >
    > Eliyahu
    >
    > "JIM.H." <> wrote in message
    > news:...
    > > Hello,
    > > How can I get data grid column width fit the data automatically?
    > > Thanks,
    > > Jim.
    > >

    >
    >
    >
     
    =?Utf-8?B?SklNLkgu?=, Mar 21, 2005
    #3
  4. Re: datagrid column fit

    Thanks for the reply. ItemStyle-Wrap="False" works.

    "Eliyahu Goldin" wrote:

    > Jim,
    >
    > That's what browser tries to do for you. What is your particular problem?
    >
    > Eliyahu
    >
    > "JIM.H." <> wrote in message
    > news:...
    > > Hello,
    > > How can I get data grid column width fit the data automatically?
    > > Thanks,
    > > Jim.
    > >

    >
    >
    >
     
    =?Utf-8?B?SklNLkgu?=, Mar 21, 2005
    #4
    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. Jim Hammond
    Replies:
    1
    Views:
    3,646
    bruce barker
    Nov 26, 2003
  2. Hai Nguyen
    Replies:
    0
    Views:
    409
    Hai Nguyen
    Jan 16, 2004
  3. Piet
    Replies:
    0
    Views:
    562
  4. Mark B
    Replies:
    0
    Views:
    1,284
    Mark B
    Aug 22, 2009
  5. sonaljain
    Replies:
    0
    Views:
    1,110
    sonaljain
    Mar 16, 2011
Loading...

Share This Page