Page 1 of 1

WFX/WDX Custom columns grouping

Posted: 2013-09-13, 13:44 UTC
by Maximus
If WDX or WFX plugin supports custom columns and plugin offers many columns like my tcPhonebook that user has very long popup menu.
What about grouping of custom columns like this?
PS. Now it is impossible how I see...

Posted: 2013-09-13, 14:07 UTC
by MVV
I think that it may be solved if TC create submenus if plugin field name contains a dot...

Posted: 2013-09-13, 15:29 UTC
by Maximus
MVV
Yes. It is very nice variant.

Posted: 2013-09-14, 01:50 UTC
by petermad
Hmm, it seems to be possible already - and not just for date/time/size.

These plugins have submenus in my TC:

media
nicepaths
filedesc
ntlinks
mediainfo

But it also seems that all these submenus always imply a <default> value.

For tcPhoneBook it could perhaps be done by having this submenu for for example Phone:

<default>
Work
Home
Other
All
Preferred

making <default> the same as Work

Posted: 2013-09-14, 06:07 UTC
by Lefteous
2petermad
These submenus are currently used for units not for grouping fields.

Of course we cannot introduce a change that relies on some kind of separator inside the name field. From my point of view a new function would have to be introduced that - when implemented by the plugin - returns a group name or even better two functions where one defines an array of group names and the other one returns the assignment of the field to the group ID (array index).

Posted: 2013-09-15, 01:15 UTC
by petermad
These submenus are currently used for units not for grouping fields.
That's what I thought, but some of the plugins I mentioned above use them for something that doesn't look like units.

But I certainly agree that a genuine submenu feature would be appropriate

Posted: 2013-09-15, 08:06 UTC
by MVV
petermad,
It really can be a good idea to use unit fields for grouping where units are not needed.

Maximus,
You can try to use unit fields as it was mentioned. So, instead of KB, GB etc you can simply use Phone, Mobile phone etc and return corresponding information for every pseudo-unit.

Posted: 2013-09-15, 12:48 UTC
by Maximus
MVV
I had already considered this approach. This is not the way.
As you think these fields will appear in the "Change attributes" dialog? (Or "Find dialog" for WDX). Here must be native grouping.