TreeGrid - Prevent child nodes from being sorted?

When you sort a column by clicking on the header, it applies whatever sorting routine you specified, to ALL the elements of the list. This means that although child elements will remain with their parent node after the sorting, those child elements are themselves sorted too.

Is there any way to specify that you ONLY want the parent items to be involved in the sort, and to leave the child elements alone during the sort? I’ve looked at defining a custom sorting routine, and using some special identifier to ignore child elements, but as-of-yet haven’t been able to get this to work.

Any other way?

bump … ?

It can be done only with code modification. Please open ticket at support.dhtmlx.com/ and we will provide you customized file