Treetable and dynamicly scrollY state

Hello guys.
How i can enable and disable scrollY for treetable dynamicly… like

$$(“treetabble”). scrollY(true);
$$(“treetabble”). scrollY(false);

can i did it??

did you try define? https://docs.webix.com/api__link__ui.treetable_define.html

thanks for answer, but doesn’t work :frowning: any other idea??

tried
$$(“scr3_grid”).define({scroll:false});
$$(“scr3_grid”).define({scroll:true});

but doesn’t work

$$("scr3_grid").define({scroll:false});
$$("scr3_grid").refresh();

yes, I used refresh too, but doesn’t help too

try refreshColumns instead of refresh. it should work.

Hello @Lucky ,
Yeap, @intregal is right.
Here is related example with datatable: https://snippet.webix.com/pv1tierw

Thank You Very Much :smile: