TreeTable Scheme Update

When I add a new row to treetable that has scheme. It looks like this


How to prevent this? Is it a bug? Also “Toplam” field is a footer I want to style it and recalculate when any data changes but I couldn’t.

It just have “webix_cell webix_dtable_colrow” and that’s same as collapser

Could you please share a demo for this problem ?

In the above case, is “Toplam” a grid’s footer, or a group’s footer?

In second case those “footer” is just a row of grid with colspan applied, so you can add the new row before or after it (index parameter of add command )

It’s footer of group. I’ve tried add(record, index) but it didn’t work.

But adding 1 extra parameter works good. (I’ve seen it there http://docs.webix.com/datatree__nodes_manipulations.html)

http://webix.com/snippet/c2943ad7

Still I’ve some problems like auto update. If you change votes, you can see.

Also don’t know how to refresh this table.

I guess I have to prepend “0$” to find right branch.

Grouping is an one-time operation. It will calculate sum during grouping, but it will not add any kind of logic to recalculate those values automatically.

It possible to create such kind of logic through custom code though

http://webix.com/snippet/8cd724fe