method to get the column name and direction sort

Hi.

There is any method to get the column name and direction sort? I mean, I would like to know which column is ordered and its direction.

Thanks a lot, Luis Carlos.

1 Reply

SS Seeni Sakthi Kumar Seeni Raj Syncfusion Team August 23, 2018 12:59 PM UTC

Hi Luis,  
 
Thanks for contacting Syncfusion Support.  
 
We can get the sorted columns from the model.sortSettings.sortedColumns property. Refer to the API Reference and sample demo.  
 
 
Regards,  
Seeni Sakthi Kumar S. 


Loader.
Up arrow icon