jsTree + jsTreeGrid -> render icons for newly created node
I successfully implements jsTree + jsTreeGrid in admin panel for managing categories for products. The only one problem is, that when i create new node via right mouse button context menu, the newly created row does not contain columns with icons set in jsTre开发者_如何学JAVAeGrid panel. The icons are ID based (linked to other pages), therefore while rendering icons code have to know ID of newly created node.
Please note: After page refresh icons for new node are visible. Of course.
Any help is really appreciated.
What about programmatically refreshing the jsTree after adding new node? Search for refresh
in doc for core
精彩评论