This is a migrated thread and some comments may be shown as answers.

Virtual scrolling grid with filter

3 Answers 150 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Almir
Top achievements
Rank 1
Almir asked on 12 Mar 2011, 10:45 AM
Hey,
can somebody provide me with a sample or link to a virtual scrollable radgrid with working filters.
I have the problem, that filter only filters first page of grid, because grid's current page index seems to be lost (is lost!) when filtering on page N of the grid, and therefore no result is found, as long as you are not searching for objects on the first page of the grid.

Any help would be appricated. Thx in advance.

3 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 17 Mar 2011, 10:47 AM
Hi Almir,

Are you updating  the VirtualItemCount property of the grid according to the filtered data? VirtualItemCount should give the total number of all records in your data source after filtering. If it is not correct, RadGrid cannot calculate properly the paging settings and your paging will be distorted.

Veli
the Telerik team
0
Almir
Top achievements
Rank 1
answered on 17 Mar 2011, 02:02 PM
Hey Veli,
I thought I found that kind of example (virtual scrollable grid with filters) on your telerik demo side and it didn't work, but I can't find it anymore. 
When I am getting back to that aspect of radgrid at my current project, and problems occur, I will provide more details.
Thx. 
0
Veli
Telerik team
answered on 17 Mar 2011, 02:30 PM
We do not have a demo of RadGrid with virtual scrolling and filtering in particular.  The two demos on virtual scrolling we have in RadGrid demonstrate a server-side databinding scenario and a client-side databinding scenario.

Veli
the Telerik team
Tags
Grid
Asked by
Almir
Top achievements
Rank 1
Answers by
Veli
Telerik team
Almir
Top achievements
Rank 1
Share this question
or