This question is locked. New answers and comments are not allowed.
Hi there,
I'd like to set the GridView to show a "paged" view of data. For business rules reasons, we're unable to use the RadDataPager.
Is it possible to get 100 records, put them into the RadGridView and then return the number of visibleRows without scrollbars appearing?
I also tried to get the radGridView.VisibleRowsHeight value, but without success.
Any help is appreciated.
Clinton
I'd like to set the GridView to show a "paged" view of data. For business rules reasons, we're unable to use the RadDataPager.
Is it possible to get 100 records, put them into the RadGridView and then return the number of visibleRows without scrollbars appearing?
I also tried to get the radGridView.VisibleRowsHeight value, but without success.
Any help is appreciated.
Clinton
5 Answers, 1 is accepted
0
Hello,
Vlad
the Telerik team
Are you looking for our virtual collection?
Greetings,Vlad
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Clinton
Top achievements
Rank 1
answered on 13 Feb 2012, 10:32 PM
Hi Vlad,
Nope, I do not believe so.
FYI, we're using Dynamic Data, and the Columns are generated at Runtime. There is no Model as such it's all programmatic.
What we need is to be able to retrieve the actual number of records that exist in a GridView that doesn't have scrollbars active. This means, that if the GridView can show 25 records, regardless of whether we give it 100 or 1000 records, it will tell us that 25 rows are displayed to the user.
The Grid will have to be locked as to not enable scrolling.
I'm not sure if virtual collection can do this?
Thanks Vlad for all your help.
Clinton
HardCat Pty Ltd
Nope, I do not believe so.
FYI, we're using Dynamic Data, and the Columns are generated at Runtime. There is no Model as such it's all programmatic.
What we need is to be able to retrieve the actual number of records that exist in a GridView that doesn't have scrollbars active. This means, that if the GridView can show 25 records, regardless of whether we give it 100 or 1000 records, it will tell us that 25 rows are displayed to the user.
The Grid will have to be locked as to not enable scrolling.
I'm not sure if virtual collection can do this?
Thanks Vlad for all your help.
Clinton
HardCat Pty Ltd
0
Josef Rogovsky
Top achievements
Rank 2
answered on 01 Jun 2012, 12:09 PM
I just now submitted a support ticket for basically the same question.
I need to dynamically change the page site on a domaindatasource to match the # of rows a gridview is able to display.
Let me know if you figured this out Clinton. If not, I'll let you know what answer I get on my ticket.
I need to dynamically change the page site on a domaindatasource to match the # of rows a gridview is able to display.
Let me know if you figured this out Clinton. If not, I'll let you know what answer I get on my ticket.
0
vk
Top achievements
Rank 1
answered on 18 Jun 2012, 07:00 AM
Hi Josef,
Did you manage to solve this task?
Did you manage to solve this task?
0
Anusha
Top achievements
Rank 1
answered on 19 Dec 2012, 04:35 AM
Hello,
I am using radgridview in silverlight.I am generating columns at run time.I want to know how to show number of rows like 1 to 50 of 71 .
Thanks,
I am using radgridview in silverlight.I am generating columns at run time.I want to know how to show number of rows like 1 to 50 of 71 .
Thanks,
