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

Reverse column sort order

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eyal Dyment
Top achievements
Rank 1
Eyal Dyment asked on 23 Mar 2009, 02:42 PM
Hi,

I have a column containing Boolean values shown as images in the RadGrid.
"False" value shows an empty image and "True" value show a flag image.

When clicking the column header in order to sort, the first time it is clicked it shows the flag images on the bottom of the grid. I would like it work as the first click sorts the column showing the flag images on top.

How can that be done?

Thanks,
Eyal D.

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 26 Mar 2009, 11:47 AM
Hello Eyal,

I think that you can apply the reverse sorting by applying descending sort order on the first turn. Review the implementation from the bottom section of this documentation topic for more details.

Best regards,
Sebastian
the Telerik team

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