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

Can not find MasterGridViewTemplate AllowMultiColumnSorting property

4 Answers 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mark Blom
Top achievements
Rank 1
Mark Blom asked on 07 Aug 2008, 09:54 AM
Hi,

In order to disable multicolumn sorting, I am looking for the AllowMultiColumnSorting property for MasterGridViewTemplate as described in the documentation but I can not find it.

Can you please help me locating this property?

BTW: I am using the 2008 Q1 version of the Winforms controls

Regards,

Mark

4 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 08 Aug 2008, 10:18 AM
Hi Mark,

This property is marked obsolete in our previous release and now has been removed from GridViewTemplate. The default behavior now is when the Shift key is used the multi-column sorting is applied.

If you have other questions, do not hesitate to contact me again.

Kind regards,
Julian Benkov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mark Blom
Top achievements
Rank 1
answered on 08 Aug 2008, 10:33 AM
Hi Julian,

Thanks for the reply!

Is there a way to disable multicolumn sorting and only allow one column to be sorted?

Regards,

Mark
0
Dimitar Kapitanov
Telerik team
answered on 08 Aug 2008, 12:51 PM
Hi Mark Blom,

Actually you are able to accomplish that but in a more proper way than before (more fluent with the way our API is designed). The property has been moved to the SortExpressionCollection, thus allowing to have different settings for the different levels of the hierarchy.

Example:
radGridView1.MasterGridViewTemplate.SortExpressions.AllowMultiColumnSorting = false 

Thus you can disable the multi-column sorting for the master grid view template (if you work with planar data this is sufficient).

Sincerely yours,
Dimitar Kapitanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mark Blom
Top achievements
Rank 1
answered on 11 Aug 2008, 05:54 AM
Thanks for the explanation!

Regards,

Mark
Tags
GridView
Asked by
Mark Blom
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Mark Blom
Top achievements
Rank 1
Dimitar Kapitanov
Telerik team
Share this question
or