Posted 12 January 2021, 1:21 am EST
Hi Sharad,
can we disable dropdown tree , I tried in this way ddTree.treeView.isDisabled = this.isDocumentTypeDisabled // this is boolean value, but it is not working properly, and I also tried this way also
let ddTree = new DropDownTree(this.hostEl, {
displayMemberPath: “Name”,
childItemsPath: “items”,
//checkedMemberPath : “showCheckboxes”,
showCheckboxes: !this.isSLB,
itemsSource: this.nested,
isDisabled: this.isDocumentTypeDisabled,
checkedItemsChanged: (s, e) => {
// console.log(s, “afercheked”);
// console.log(e, “eaction”);
// console.log(“dropDownTree.checkedItemsChanged:”);
s.checkedItems.forEach((item, index) => {
console.log(index, item[s.displayMemberPath]);
});
},
});
for wijmo combo box this option is there, same i’m trying to do…please help me