Page 1 of 1

Is there a way to make an Item Count column?

Posted: 13 May 2017 03:16
by photoman
In "Tree and List" under configuration, there is a checkbox for "Show Item Count with Folder Sizes". This is great, and what I need. But it displays as for example "[350 Items]". It's too long, and almost doubles the size of my 'size' column. I need this information but screen width is at a premium.
Is there a variable with the Item count information that I could use to make a custom column and just display, for example "[350]" ?

Re: Is there a way to make an Item Count column?

Posted: 13 May 2017 06:01
by highend

Code: Select all

Snip: CustomColumn 1
  XYplorer 17.90.0200, 13.05.2017 06:00:49
Action
  ConfigureColumn
Caption
  Item count
Type
  3
Definition
  return "[" . eval(foldersize(<cc_item>, "<d> + <f>")) . "]";
Format
  1
Trigger
  0
Item Type
  1
Item Filter