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

[Solved] Discard sorting and filtering using server API

1 Answer 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
QualiWareUA
Top achievements
Rank 1
QualiWareUA asked on 22 May 2008, 08:25 AM
Hello,

I have a grid with sorting and filtering. At some point I need to discard any sorting and filtering data entered by user. How can I do this using server-side API?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 22 May 2008, 08:42 AM
Hello Vladimir,

You can set MasterTableView.FilterExpression to empty string and call Clear() method for MasterTableView.SortExpressions.

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
QualiWareUA
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or