javascript - How to separate parent, child and grand child from selected jstree node? -


i have set of jstree dynamic data, checkbox, , custom button, when on click custom button should collect nodes selected in jstree.

my problem have separate parent, child, , grand child nodes because need save parent, child, , grand child in different different columns in database.

is there way to separate parent, child , grand child node selected nodes?

sample tree


Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -