Skip to content Skip to sidebar Skip to footer

I Am Using JsTree And JsTree Grid And Data In My Second Column Disppears

I have one column in jsTree Grid representing my tree. The second column is used for displaying 'tags' associated with each node. It is displaying great until I click another level

Solution 1:

The problem is that the jsTreeGrid plugin redraws the cells when you expand a node. Since you only append your tags during the "loaded" and "select_cell" events, the tags disappear.

You can workaround this by re-appending the tags on more events:

.bind("open_node.jstree create_node.jstree clean_node.jstree change_node.jstree", function (event, data) { 
    doDisplayTags(mapNameTag);
})

Post a Comment for "I Am Using JsTree And JsTree Grid And Data In My Second Column Disppears"