Get Free Trial

How to remove default sorting

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

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:
Please let us know if everything works fine for you.

Ravi January 18, 2019

Yeah its working,thanks

Please login or Register to Submit Answer