Hi,
I'm using a RadGrid with a fixed height in pixels. I've set the MasterTableView's AllowPaging property to "true" and the PageSize property to "19" (because I want to display 19 rows on each page).
My problem is that when I reach last page, which does not contain 19 elements (unless the total is a multiple of 19 but hey), then on that page the rows take all the available space in height. For example, if a page contains only 2 elements, I'm getting 2 rows each taking 50% of the total height.
Obviously what I would like is the rows height to stay the same accross the pages (I tried setting ItemStyle-Height to a fixed dimension but did not change anything). So, if I have a page with 2 rows, knowing that the PageSize is set to 19, I would like my 2 rows to be followed by the equivalent of 17 empty rows in height.
How can I achieve this?
Hope that makes sense.
Thanks,
Nicolas
------
Just for clarity sake:
- What I have (1st page on the left, 2nd page on the right, assuming PageSize=19 and I have a total of 20 rows):
- What I would like:
I'm using a RadGrid with a fixed height in pixels. I've set the MasterTableView's AllowPaging property to "true" and the PageSize property to "19" (because I want to display 19 rows on each page).
My problem is that when I reach last page, which does not contain 19 elements (unless the total is a multiple of 19 but hey), then on that page the rows take all the available space in height. For example, if a page contains only 2 elements, I'm getting 2 rows each taking 50% of the total height.
Obviously what I would like is the rows height to stay the same accross the pages (I tried setting ItemStyle-Height to a fixed dimension but did not change anything). So, if I have a page with 2 rows, knowing that the PageSize is set to 19, I would like my 2 rows to be followed by the equivalent of 17 empty rows in height.
How can I achieve this?
Hope that makes sense.
Thanks,
Nicolas
------
Just for clarity sake:
- What I have (1st page on the left, 2nd page on the right, assuming PageSize=19 and I have a total of 20 rows):
------------------------------ -------------------------- |
header |
------------------------------ header |
row1 |
------------------------------ -------------------------- |
row2 |
------------------------------ row20 |
... |
------------------------------ -------------------------- |
row19 |
------------------------------ pager |
pager |
------------------------------ -------------------------- |
- What I would like:
-------------------------- -------------------------- |
header header |
-------------------------- -------------------------- |
row1 row20 |
-------------------------- -------------------------- |
row2 |
-------------------------- empty space not selectable |
... here |
-------------------------- |
row19 |
-------------------------- -------------------------- |
pager pager |
-------------------------- -------------------------- |