WFX/WDX Custom columns grouping

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Maximus
Member
Member
Posts: 147
Joined: 2006-04-12, 10:51 UTC
Location: Ukraine
Contact:

WFX/WDX Custom columns grouping

Post 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...
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think that it may be solved if TC create submenus if plugin field name contains a dot...
User avatar
Maximus
Member
Member
Posts: 147
Joined: 2006-04-12, 10:51 UTC
Location: Ukraine
Contact:

Post by *Maximus »

MVV
Yes. It is very nice variant.
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post 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
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post 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).
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post 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
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post 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.
User avatar
Maximus
Member
Member
Posts: 147
Joined: 2006-04-12, 10:51 UTC
Location: Ukraine
Contact:

Post 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.
Post Reply