getChecked()
gets all checked tree items
getChecked(): (string | number)[];
Returns:
An array of ids of checked items.
Example
tree.getChecked(); // -> ["jmf", "rle", "sk", "km", "af", "jw"]
Related sample: Tree. Get checked items
gets all checked tree items
An array of ids of checked items.
Example
tree.getChecked(); // -> ["jmf", "rle", "sk", "km", "af", "jw"]
Related sample: Tree. Get checked items