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

[Solved] Problems with telerik grid when sort and pagination

0 Answers 19 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Diego
Top achievements
Rank 1
Diego asked on 09 Apr 2012, 10:13 PM
Hi,

I have a problem with telerik mvc grid. Here is the explanation of what's my problem:

My grid have some custom filters which will be executed when selecting an option from a dropdown. I also have pagination. The problem comes when a filter is applied and then, for example, I try to sort the data result by any of the columns. Doing this the sort is applied on the complete datasource and not only on the filtered data. The same happend when jumping between pages on the pagination bar.

I'm filtering using a javascript code like this one:
grid.dataSource.filter({ field: "NumberOfLives", operator: "le", value: 500 })

Any ideas of how to solved this?

Thanks,
Diego

Tags
General Discussions
Asked by
Diego
Top achievements
Rank 1
Share this question
or