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

[Solved] Customize sort click on header/sort icon

1 Answer 270 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Aneesh Pulukkul
Top achievements
Rank 1
Aneesh Pulukkul asked on 13 Oct 2009, 07:13 AM
Please find the the requirements I am working on:

  1. On click of header column text, sorting should nothappen.
  2. Header should display default sort icon - Up and Down arrows.
  3. On click on up arrow and down arrow icons column should be sorted in ascesding and descending order respectively.

 

Challanges - 
  
  1. How to disable sorting command triggering on column header click? It's rendered as a link button I believe. Not sure where exactly it's hooking the click event.
  2. Default sort icon is a single image containing both up and down arrows - How we can segregate the sort behavior on up and down arrows?

    Would appreciate any inputs.

    Thanks,
    Aneesh

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 13 Oct 2009, 12:25 PM
Hi Aneesh,

Please check out the following help articles which elaborate on this subject:
Applying custom sort criteria
Controlling sorting modes

Hope this help.

Regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Aneesh Pulukkul
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or