alex_read
Sep 11th, 2003, 07:45 AM
If you use paging with the datagrid control, you've got the option to set the max number of rows to display on the grid at a single time.
My question is, how can I set a minimum value?? i.e. the first time the grid gets displayed, 10 rows are on the first page & the grid will display on my webform with, say, a height of 100px. When the user clicks to view the second page, only 6 more records are returned only resulting in 6 rows in the grid making it's height drop to 60px.
I'd like if possible to have my grid stay showing 10 rows (whether some are blank or not) on each page so it's height stays the same. Anyone know if there's a way to do this please??
Thanks :cool:
My question is, how can I set a minimum value?? i.e. the first time the grid gets displayed, 10 rows are on the first page & the grid will display on my webform with, say, a height of 100px. When the user clicks to view the second page, only 6 more records are returned only resulting in 6 rows in the grid making it's height drop to 60px.
I'd like if possible to have my grid stay showing 10 rows (whether some are blank or not) on each page so it's height stays the same. Anyone know if there's a way to do this please??
Thanks :cool: