ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Autoflow on October 31, 2019, 09:18:01 pm
-
Just stumbled about empty folders in tree grid.
Would like to indicate empty folders as those without the possibility to collapse them.
What do you think about adding a third option to treeModel.iconCollapse like this:
treeModel.iconCollapse = [First string corresponds to open state icon, 2nd string corresponds to close state icon, 3rd string for folders without children and thus not collapsable].
-
treeModel.iconCollapse or treeModel.iconFolder third string option could only be used to visually represent an empty folder.
As far as the functionality to prevent collapse / expand empty folders is concerned, beforeTreeExpand event can be used.
https://paramquery.com/pro/api#event-beforeTreeExpand
-
treeModel.iconCollapse or treeModel.iconFolder third string option could only be used to visually represent an empty folder.
Would be glad to see this implemented.
Can i count on it in some of the next releases?