Hi, how can i make sort only by unit(not by items in unit) and for items in unit separately?
Like in other components: if(obj.$level === 1) then sort…
My case: I need sort unit(category name) and separately items in this category.
Hi, how can i make sort only by unit(not by items in unit) and for items in unit separately?
Like in other components: if(obj.$level === 1) then sort…
My case: I need sort unit(category name) and separately items in this category.
Unfortunately, it’s not possible, as the ‘units’ of the iu.unitlist aren’t data items.
You can use a custom sorting for the list-like treetable or for the ui.grouplist instead. Here’s an example with the treetable:
http://webix.com/snippet/08111ed9
Please check also the docs about the data grouping.