开发者

jsTree + jsTreeGrid -> render icons for newly created node

开发者 https://www.devze.com 2023-04-09 07:36 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消