Disable tree element

Hi,

I tried to disable a tree element (checkbox and text):
$$(“godfather”).disable();

But it didn’t work. Any way to achieve this?

Thanks!

Hi,

you cannot access tree checkboxes directly by id. Instead, you need to define a disabled property for the related data item: http://webix.com/snippet/34dd3474