devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
32 lines (31 loc) • 875 B
JavaScript
/**
* DevExpress HTML/JS Reporting (viewer\documentMap\_documentMapTreeListController.js)
* Version: 25.2.3
* Build date: Dec 15, 2025
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
* License: https://www.devexpress.com/Support/EULAs/universal.xml
*/
export class DocumentMapTreeListController {
constructor() {
this.clickHandler = (item) => void 0;
}
itemsFilter(item) {
return true;
}
hasItems(item) {
return item.isList === true;
}
canSelect(value) {
return true;
}
select(value) {
if (this.canSelect(value) && value !== this.selectedItem) {
this.selectedItem && (this.selectedItem.isSelected = false);
this.selectedItem = value;
value.isSelected = true;
}
}
showIconsForChildItems() {
return false;
}
}