Author Topic: Tree grid: collapse icon for empty folders  (Read 361 times)

Autoflow

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 17
    • View Profile
Tree grid: collapse icon for empty folders
« 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].



paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 4406
    • View Profile
Re: Tree grid: collapse icon for empty folders
« Reply #1 on: November 01, 2019, 03:10:30 pm »
[ Only Pro members may read this post. ]

Autoflow

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Tree grid: collapse icon for empty folders
« Reply #2 on: November 01, 2019, 03:29:24 pm »
Quote
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?