Hi Elena,
Thank you for contacting Syncfusion support.
You can disable the checkbox element alone instead of disabling the whole node. You need to include the class e-checkbox-disabled into the checkbox element using the drawNode event,
function drawNode(args) {
let ele: HTMLElement = args.node.querySelector('.e-checkbox-wrapper');
ele.classList.add('e-checkbox-disabled');
} |
Note: In the above sample, we have disabled all the checkboxes. If you want to disable a checkbox in a particular node, you can get the node id (
args.node.id) from the drawNode event and set your condition to skip the other nodes.
Please let us know if you need further assistance on this.
Thanks,
Christo