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

Limit column sorting to just one column

3 Answers 17 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Zed
Top achievements
Rank 1
Zed asked on 10 Jul 2009, 01:38 PM
Is there a way to limit the user to selecting just one column for sorting? 

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 10 Jul 2009, 01:53 PM
Hello Zed,

I recommend you use the AllowSorting property to restrict the desired columns.
AllowSorting Property
Using columns

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Zed
Top achievements
Rank 1
answered on 10 Jul 2009, 01:55 PM
Any one column can be sorted, but only one.  Is there some paramater that says maxallowed columns?
0
Shinu
Top achievements
Rank 1
answered on 13 Jul 2009, 07:59 AM
Hi Zed,

If you want enable only single column sorting in the Grid you may set the AllowMultiColumnSorting property of the Grid to false.

ASPX:
 
 <MasterTableView AllowMultiColumnSorting="false"   > 


Regards
Shinu
Tags
Grid
Asked by
Zed
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Zed
Top achievements
Rank 1
Shinu
Top achievements
Rank 1
Share this question
or