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

Multi column sort not working correctly

4 Answers 132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
R2
Top achievements
Rank 1
R2 asked on 08 Jan 2009, 08:02 PM
Hi all,

On page page 467 in the Rad courseware, in the Master TableView Settings section of the RadGrid Property Builder, I checked the "Allow multi-column sorting".  Selecting this option was supposed to allow for a user to sort columns individual of each other.  This is not happening.  When I sort one column, the other columns get sorted, they are not behaving as separate entities.  Is there a correction for this?

Thanks!

r2

4 Answers, 1 is accepted

Sort by
0
R2
Top achievements
Rank 1
answered on 09 Jan 2009, 02:07 PM
Is there a Telerik staffer that can answer this question for me?
0
Yavor
Telerik team
answered on 10 Jan 2009, 01:04 PM
Hello,

The functionality is demonstrated in reality in the following example.
Please, take a look at it and let me know if this meets your requirements, or if I am leaving something out.

Sincerely yours,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
R2
Top achievements
Rank 1
answered on 13 Jan 2009, 03:05 PM
Thank you, Yavor, for your response.

I guess the question is, am I leaving something out?

It appears that it only allows you to select any one column header in the table to re-sort the entire table according to that one selected column.  To my way of understanding, the word "multi-column" does not mean what it implies.  You can not select multiple columns to sort, you can only select one at a time, which is basically how tables sort anyways.  I don't understand the purpose of this option.  It's a little confusing to me.

Sincerely,
r2
0
Yavor
Telerik team
answered on 16 Jan 2009, 11:10 AM
Hi R2,

When multicolumn sorting is disallowed, the control would only allow sorting for one column. For example, if you sort on CustomerID, the column will be sorted accordingly.
Then, if you sort on another column, the sorting will be removed from the other column, and the new column will be sorted as needed.
On the other hand, with multi column sorting allowed, one can sort many columns, and sorting each subsequent column will not remove the sorting on the previous one(s).
I hope this information makes sense. Let me know if I am leaving something out.

Sincerely yours,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
R2
Top achievements
Rank 1
Answers by
R2
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or