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

Multi-column sorting AND single sorting

1 Answer 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
zeng
Top achievements
Rank 1
zeng asked on 13 Jan 2009, 08:10 AM
hi
I want the grid sorted by single column at default,but if user pressing 'ctrl' when sorting the grid will sort by Multi-column.
How do i implement that?

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 14 Jan 2009, 11:33 AM
Hi zeng,

Although this behavior is not available by default, it can be achieved by using custom code.
For example, you can attach to the onKeyPress client side handler, and upon pressing the Cntl key, make an Ajax request to the server, to allow programmatically multi column sorting.
I hope this suggestion helps.

All the best,
Yavor
the Telerik team

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