Results 1 to 2 of 2

Thread: Show Scrollbars On DataGrid

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Show Scrollbars On DataGrid

    Is it possible to have scrollbars show on a datagrid please?

    I've not set the layout width property of the datagrid & set the header columns not to wordwrap & to be 1000 pixels wide, but the site automatically formats the control to fit onto my webpage, I'd like to be able to scroll left & right.

    Thanks!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    I've hunted around a little bit & found the following property I can set:

    style="overflow:auto"
    style="overflow:scroll"

    This makes the scrollbars appear for the asp datagrid at design time, however at runtime, the datagrid control is sized to fit the table column it's placed in, squahing the solumn headijngs still.

    The next part/question on this then is... can I specify a fixed size for a single column or all of the columns at once with the datagrid control please?
    Last edited by alex_read; Nov 20th, 2002 at 05:48 AM.

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width