Force sort to just alternate between ascending and descending?

1 Answer 93 Views
Grid
Jason
Top achievements
Rank 1
Iron
Veteran
Jason asked on 24 Feb 2022, 04:35 PM
Is there a way for sort to just alternate between ascending and descending? Currently if you keep clicking, it has a 3rd state of no sort which is never a state we want. If the answer is use OnStateChange, I can just do that then.

1 Answer, 1 is accepted

Sort by
0
Apostolos
Telerik team
answered on 01 Mar 2022, 03:15 PM | edited on 01 Mar 2022, 03:17 PM

Hello ,

As you correctly said, it is possible to achieve such functionality with the OnStateChanged or OnRead events.

There is a feature request to Allow Unsort for the Grid. You can check the REPL workaround example in the thread. I suggest to follow and vote for the request, as we prioritize future development on customer demand.

Regards,
Apostolos
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Jason
Top achievements
Rank 1
Iron
Veteran
Answers by
Apostolos
Telerik team
Share this question
or