Merge branch 'develop' into gli-1517_2

This commit is contained in:
vishalsingh.qlo325
2024-08-27 17:10:18 +05:30
18 changed files with 537 additions and 270 deletions

View File

@@ -29,6 +29,7 @@ class HelperTreeCore extends TreeCore
private $_use_bulk_actions;
private $_use_checkbox;
private $_show_collapse_expand_button = true;
private $_auto_select_children = false;
private $_max_height = 350;
@@ -43,6 +44,18 @@ class HelperTreeCore extends TreeCore
return (isset($this->_use_search) && $this->_use_search);
}
public function setAutoSelectChildren($value)
{
$this->_auto_select_children = (bool)$value;
return $this;
}
public function autoSelectChildren()
{
return (isset($this->_auto_select_children) && $this->_auto_select_children);
}
public function setUseBulkActions($value)
{
$this->_use_bulk_actions = (bool)$value;
@@ -119,6 +132,7 @@ class HelperTreeCore extends TreeCore
);
$this->setAttribute('use_search', $this->useSearch());
}
$this->setAttribute('auto_select_children', $this->autoSelectChildren());
if ($this->showCollapseExpandButton()) {
$collapse_all = new TreeToolbarLink(