Two questions on this treetable dynamic loading snippet:
-
Why does the “Expand me!” element disappear until it’s rendered again, instead of showing the spinner?
-
How can the last node be preserved? In never shows back again.
Two questions on this treetable dynamic loading snippet:
Why does the “Expand me!” element disappear until it’s rendered again, instead of showing the spinner?
How can the last node be preserved? In never shows back again.
(1)
webix_tree_custom is not a some predefined class, it just a name for some custom css class. If this class is not defined then div will take a whole line and text will disappear.
Adding float:left to this node solves issue.
(2)
Changing line in the type.icon like if (obj.open && obj.$count < 0)
will help.