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

Sort Tiles in Treemap

Hi Team,

We would like to know how to sort the treemap tiles in either ascending or descending order. Currently, tiles are sorted in descending order. We would like to know whether it is possible to sort the treemap tiles in ascending order (smaller to greater).


Attaching a stackblitz demo for reference.

https://stackblitz.com/edit/react-5sk8z3-67qdrq?file=index.js


1 Reply

IR Indumathi Ravi Syncfusion Team November 17, 2022 05:36 AM

We do not support the sorting in TreeMap component. However, we have already planned to sort the legend items based on the objects added to the "colorMapping" property. We have already informed this in the forum 178496 created by you. Please follow it for further details.


Loader.
Live Chat Icon For mobile
Up arrow icon