liquor-tree
liquor-tree copied to clipboard
Extra fields to return on selected
Hi, how to get more info from selected node.
If i pass data: [{ id: 1 isBatch: false, text:"Example", description:"Example description " }] is there any way to get description field on selected node?
Thanks
Pass in your data like this and then you should be able to reference it using node.data.description
[{
id: 1
isBatch: false,
text: "Example",
data: {
description: "Example description"
}
}]