Ticket T1279728
Visible to All Users

DevExtreme jQuery TreeMap – How to Sort and Display Tiles in a Specific Order

created 2 days ago

Hello,

We are using the DevExtreme jQuery Treemap in our application and would like to sort the tiles based on a specific order.

For example, we want to sort parent group labels by name, sequence number, or other criteria.

How can we achieve this? It would be helpful if you could provide an example for reference.

Thanks!

Answers approved by DevExpress Support

created 14 hours ago

Hello,

You can sort the TreeMap at the data source level with the sort() method. Once you apply sorting, make sure to call the load() method to update data.

Alternatively, you can sort items after they are loaded with the CustomStore | load or DataSource | postProcess function.

Let me know if this helps.

Regards,
Assylbek

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.