Haw can i calculate the datapager size to fill (rows) all the area avaiable for the grid?
Is that possible?
3 Answers, 1 is accepted
0
Vlad
Telerik team
answered on 31 Aug 2010, 07:03 AM
Hi Gilberto,
I'm afraid that I don't understand your scenario. Can you provide a bit more info? Screenshot with desired result will be helpful as well.
All the best,
Vlad
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
Considering, i have a form 50% height of a window, and a gridview in the other 50%, this avaiable area to gridview changes especially because screen resolution or even if the user changes the window size.
So how can i calculate the pagesize pager for this scenario?
Actually i want the max page size and no scroll.
Thanks
0
Vlad
Telerik team
answered on 31 Aug 2010, 02:30 PM
Hello,
If you want to calculate PageSize depending on current visible grid rows you can check the approach used in this blog post. Look for SizeChanged event handler in CustomScrolling class.
All the best,
Vlad
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items