Row height in datagrid

Discussion in 'ASP .Net' started by =?Utf-8?B?U2FuZHk=?=, Apr 15, 2005.

  1. Hello -

    I have a datagrid with scrollbars and paging. I have tried setting the row
    height of the header, pager, footer and Itemstyle. Everything functions
    great until I hit the last page when the last page consists of less rows than
    the page size. On the last page, the row height becomes large and looks
    horrible.

    What am I doing wrong?

    Any help will be greatly appreciated!

    --
    Sandy
    =?Utf-8?B?U2FuZHk=?=, Apr 15, 2005
    #1
    1. Advertising

  2. Sandy,

    Don't specify the grid's height and it will format itself nicely. If you
    want it to look like it has fixed height, fake it by putting the grid in a
    <div> with the same background color as for the grid. Specify the height for
    the <div>.

    Eliyahu

    "Sandy" <> wrote in message
    news:...
    > Hello -
    >
    > I have a datagrid with scrollbars and paging. I have tried setting the

    row
    > height of the header, pager, footer and Itemstyle. Everything functions
    > great until I hit the last page when the last page consists of less rows

    than
    > the page size. On the last page, the row height becomes large and looks
    > horrible.
    >
    > What am I doing wrong?
    >
    > Any help will be greatly appreciated!
    >
    > --
    > Sandy
    Eliyahu Goldin, Apr 17, 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. john
    Replies:
    1
    Views:
    526
    bruce barker
    Feb 2, 2004
  2. Kat
    Replies:
    5
    Views:
    1,791
  3. W@cek
    Replies:
    0
    Views:
    1,616
    W@cek
    Mar 31, 2005
  4. Phil Johnson

    Datagrid - Row height on last page

    Phil Johnson, Mar 11, 2008, in forum: ASP .Net
    Replies:
    3
    Views:
    349
    Eliyahu Goldin
    Mar 11, 2008
  5. D
    Replies:
    0
    Views:
    198
Loading...

Share This Page