Checkbox to tree node

Hi Webix team,

Here is the snippet -
https://snippet.webix.com/se6kjadj

In that I want like -
1] If I am opening any dataset and clicking on select test button I want chekboxes to only test node of opened dataset.
Like if my both datasets are opend and I am clicking on select test button then I want the checkbox to both dataset test.

2] After checking the checkbox I want the jsonObject like {dataSetId:"",testId:""}

Thanks,
Mira Karale

There is no built in iterator which will use the open branches only. You can use tree.data.order collection though, which is array of visible items

https://snippet.webix.com/ayb8cfm0