Apex-Fancy-Tree-Select icon indicating copy to clipboard operation
Apex-Fancy-Tree-Select copied to clipboard

Expand to a specific node

Open vito-vanhecke opened this issue 1 year ago • 0 comments

Hi,

I have been using the plugin and I was wondering if you could make it possible to so you are able to expand the tree by id.

Example:

ID 1 (collapsed)
      ID 2 (not visible because ID 1 is collapsed)
ID 3 (expanded)
      ID 4 (visible)

The code could look like the following "$("#tree").trigger("expandById", 1);" and it would make all the children of ID 1 expand.

Greetings, Vito

vito-vanhecke avatar Feb 13 '24 10:02 vito-vanhecke