Tree widget missing getUnChecked method

Hi,

I’m using the threestate checkbox feature, but I dont know how I can get the unchecked items. There is a function “getChecked” but is missing a “getUnchecked”.

Check/Uncheck a parent node fire onItemCheck only on this node, not on the child nodes.

Thanks

Hello,
You can iterate through the tree item with the help of each method.

function getUnchecked(){
  var uncheckedBox = [];
  $$("tree").data.each(function(obj){
    if(!obj.checked){
      uncheckedBox.push(obj.id);
    }
  });
  alert(uncheckedBox);
}

https://snippet.webix.com/ygbd39rj

Thanks, but its a workaround.