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

set/Clear Grouping & Sorting ClientSide

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tracy
Top achievements
Rank 1
Tracy asked on 01 Jun 2012, 09:46 PM
Hi,

Is it possible to clear the grouping/sorting expression clientside
I know I can do it serverside using the following, but I would like to do it clientside.

rgvGrid.MasterTableView.SortExpressions.Clear()

rgvGrid.MasterTableView.GroupByExpressions.Clear()

Also, can I set the expressions clientside.
I can set it serverside using the following;

 

rgvGrid.MasterTableView.GroupByExpressions.Add(New GridGroupByExpression(strExpression))



Thank you for your assistance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Maria Ilieva
Telerik team
answered on 06 Jun 2012, 08:53 AM
Hello Tracy,

Note that the required functionality could not be achieved on the client. The sorting expressions could only be accessed on the client if Client-side binding for the RadGrid is used and the grouping expressions are not added to the client state at all so no such exists on the client.

Kind regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Tracy
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or