Need a special offer?Find out if your project fits.
+

How to remove default sorting

Resolved
Ravi asked on January 18, 2019

Dear Team,
By default, hierarchy members are sorted alphabetically in our component. How to prevent Default sort . because we have sorted data. so no need to sort in UI.

2 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster January 18, 2019

Hello Ravi,
Thank you for writing to us.
When setting the slice you can set the sorting order as "unsorted" for the hierarchy.
In case you need to apply such policy to all the hierarchies please use "defaultHierarchySortName". You can find the list of available options here: https://www.flexmonster.com/api/options-object/.
Please let us know if everything works fine for you.
Regards,
Dmytro

Public
Ravi January 18, 2019

Yeah its working,thanks

Please login or Register to Submit Answer