Previous Thread
Next Thread
Print Thread
XTREE: Auto filter by column #34744 10 Nov 21 05:34 PM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content OP
Member
OP Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Hi,

Would it be reasonable to add an option for the zero column, like: Filter=BYCOLUMN, to keep active filters explicitely defined for some of the columns?

This would be equivalent to add Filter=NONE to each column not to filter, but not very easy to implement when I need only a couple of them filtered among many non-filtered columns.
An alternative could be to convert the zero column Filter=NONE from globaly switch off the auto-filter in the XTREE to a partial switch off, maintaining the filter for the columns explicitely coifigured with "Filter=" and consider Filter=NONE for the others w/o "Filter=", but this is a change of behaviour that we can always avoid, no?

Thanks


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: XTREE: Auto filter by column [Re: Jorge Tavares - UmZero] #34747 12 Nov 21 08:11 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
I second this request..., but for some reason i think Jack said it was not possible or easily added. Does seem counter-intuitive to turn a feature OFF by column.

Re: XTREE: Auto filter by column [Re: Jorge Tavares - UmZero] #34748 14 Nov 21 04:54 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I think the objective always was for Filter=NONE in the zero column to be the default for all subsequent columns. But on closer review, it looks like the implementation maybe wasn't quite right. So I think I'm going to take this on as a bug fix.

But just to be clear, the objective is as follows (I think) ...

Filter=NONE overrides all global filter/toggling options. As with most Advanced Coldef Options, if you set it for a zero-width column, it becomes the default for all subsequent columns, although each of those can override it separately with an explicit Filter= option.

All higher-level mechanisms for enabling/disabling/toggling filters, such as the right-click Filter options, only affect the columns which are not set to NONE (whether explicitly or by defaulting from the zero column).

So for example, if you have a tree with 20 columns, but only three of those make sense to filter, you would set Filter=NONE in the zero column, and add explicit Filter=<RANGE|CB|PATTERN> options to the three specific columns. Then when you globally enabled or toggled filtering, it would only affect those three columns.


Re: XTREE: Auto filter by column [Re: Jorge Tavares - UmZero] #34751 15 Nov 21 03:24 PM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content OP
Member
OP Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
I wouldn't say it better grin
What I had in mind is exactly how you described in the last paragraph

Thanks


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal

Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3