We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Delete the middle stage between ascending and descending order in Sorting

Hello, 

I want to allow the user to order the column just in a descending or ascending way and not to let them see the column in the order that data is loaded. I have used sorting and it works perfectly apart from that. Is there any way to do it?

Looking forward to hearing from you, 

Ane Perez de Nanclares 

3 Replies

TS Thavasianand Sankaranarayanan Syncfusion Team January 30, 2019 05:28 AM UTC

Hi Ane, 

Greetings from Syncfusion. 

By default, the sorting order will be as `ascending -> descending -> none(remove sorting)`. At the third click on the header will remove the sorting in Grid. 

SO, if you want to disable the unsort state in Grid column then we suggest you to enable allowUnsort property of sortSettings API in Grid. 

Refer the help documentation. 



Regards, 
Thavasianand S. 



AN Ane January 30, 2019 09:30 AM UTC

Thank you!


TS Thavasianand Sankaranarayanan Syncfusion Team January 30, 2019 09:35 AM UTC

Hi Ane, 
 
We are happy that the problem has been solved. 
 
Please get back to us if you need any further assistance.  
                          
Regards, 
Thavasianand S.

Loader.
Live Chat Icon For mobile
Up arrow icon