i've got a short question. Is there a build in way to set the PageSize dynamically so that the number of rows displayed will be calculated in relation to the grid height?
If not i think i will implement it in SizeChanged event. Any suggestions or experiences for that?
Best Regards,
Yves
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 19 Nov 2015, 07:49 AM
Hello Yves,
Thank you for writing.
The RadGridView.PageSize property controls how many rows will be displayed per row. If you need to adjust this property when resizing the grid, you should do it manually. Subscribe to the RadGridView.SizeChanged event and set the desired PageSize considering the TableElement.RowHeight and TableElement.TableHeaderHeight. Additional information about the paging functionality is available on the following link: http://www.telerik.com/help/winforms/gridview-paging-overview.html
I hope this information helps. Should you have further questions I would be glad to help.
Regards,
Dess
Telerik
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 Feedback Portal and vote to affect the priority of the items