treetable grouping

hi,

is there an easier way than this:
https://snippet.webix.com/n01qt31l

to group only rows with more than one child?

Hi,

Yep, the general idea is correct - you just group all the items, then with templates you can control the UI. Only the template can be simplified. You needn’t map count, as the $count field will be added by defaullt:

https://snippet.webix.com/unpn1big

The built-in grouping has not direct solution for your use-case
You can check the alternative one - https://snippet.webix.com/c3awr1yr
Your approach is valid as well.

thank You both for great answers.

i’ve struggled a little with updateItem (no luck) and finally found this solution:
https://snippet.webix.com/5qahxlnx
it could be slower, but works with minimum additional config.