I want to grey out and disable some elem in my tree data. This snippet: https://snippet.webix.com/34dd3474
disables the checkbox from being clicked but I want the selection to be disabled for that item while selection for others are allowed.
I want to grey out and disable some elem in my tree data. This snippet: https://snippet.webix.com/34dd3474
disables the checkbox from being clicked but I want the selection to be disabled for that item while selection for others are allowed.
Hello @arcadia11,
disables the checkbox from being clicked but I want the selection to be disabled for that item while selection for others are allowed.
You can prevent the selection process entirely via the onBeforeSelect
event handler by checking the current state of the to-be-selected item. Here is a small sample - https://snippet.webix.com/upjq4zv2.