Hello Mandeep,
If you mean that RadGrid is filtered and should not be sorted when you have a node of the TreeView expanded, what you can do is set a flag which by default is
true indicating if the grid can be sorted and making it false in the
OnNodeExpanded client-side event of the RadTreeView. Then you can wire the
OnCommand event of RadGrid and if the
commandName is Sort and the flag's value is
false, cancel the event:
You only need to decide in what case the canSort flag should be set back to true again and then implement this using the relevant
client-side event of RadTreeView.
All the best,
Tsvetina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the
Telerik Public Issue Tracking system and vote to affect the priority of the items