jsTreeTable icon indicating copy to clipboard operation
jsTreeTable copied to clipboard

Same children under different parent creating issue

Open ExpandXSoln opened this issue 3 years ago • 3 comments

Thank you for providing this wonderful plugin. It is working perfectly fine with all other scenarios except, if the same child node is used in two different parents, only last child node gets the expansion option, check the image attached below

image

Check the node with text "260102000204" How to resolve it? Scratching my head since long, but did not find any help. I am using treeTable option to generate this structure.

This is a very valid care in case of Bill Of Material in manufacturing industry.

Any help would be highly appreciated.

ExpandXSoln avatar Dec 06 '21 08:12 ExpandXSoln

Any comments?

ExpandXSoln avatar Jan 24 '22 09:01 ExpandXSoln

Hi @SplendornetTech, can you send some HTML / JS to reproduce this? Do you assign distinct IDs (data-tt-id attribute) to the nodes?

culmat avatar Nov 30 '23 11:11 culmat

I resolve this by assigning different ids to the children, no worry

ExpandXSoln avatar Dec 02 '23 09:12 ExpandXSoln