Previous Thread
Next Thread
Print Thread
XTree - Filtering - Sub Levels? #34332 25 May 21 12:56 PM
Joined: Sep 2003
Posts: 4,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
Did we ever decide, implement, the possibility of filtering on a sub level with in XTree? (That also recalculate any =SUB grand totals)
I have a feeling it just opens a can of worms, a brain freeze, like how do we know what level to filter, top row, sub level , what sub level etc etc and is it really worth while.
A customer asks (again) so thought ill just check i've not missed anything.

Attached Files 2021-05-25_13-50-49.png
Re: XTree - Filtering - Sub Levels? [Re: Steve - Caliq] #34333 25 May 21 03:12 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
I think you summed up the problems, which center on how to identify which items to include in the filtering. In a multi-select tree, I guess it would be possible to first select a block of items and add a checkbox to the filter dialog to only include selected items. But that really wouldn't have anything to do with multi-level, since you could select items spanning multiple levels, or even non-contiguous ones.

It seems that the situation would be so situation dependent that maybe the only practical approach would be at the application level, probably via a regular context menu. Although I suppose one possible enhancement would be to use the built-in filter dialogs, but with an option to pass the information back to the application for processing. I'm not sure how we'd set that option though, since clearly it woiuldn't make any sense to the user, and it's not so clear that you'd want to set it globally for all the columns.

More brainstorming required...!

Re: XTree - Filtering - Sub Levels? [Re: Steve - Caliq] #34334 25 May 21 03:16 PM
Joined: Sep 2003
Posts: 4,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
brainstorming or maybe better one of those for an extra sunny quiet day when there is nothing else left on the list. smile

Re: XTree - Filtering - Sub Levels? [Re: Steve - Caliq] #34335 25 May 21 09:04 PM
Joined: Sep 2003
Posts: 4,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
One for the Ashell 202x conference list!

Re: XTree - Filtering - Sub Levels? [Re: Steve - Caliq] #34336 26 May 21 04:45 PM
Joined: Sep 2002
Posts: 5,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
I like Jack's suggestion of a right-click triggering a coldef popup menu. Perhaps the application could add a "Filter" option which could send the request back to XTREE to filter on that sub-level. It would require 2 clicks instead of one, but even if the application did the filtering it would require a filter option with then some sort of dialog of selections. Or setup some sort of macro at the header level of xtree that would catch a right click event and auto open the xtree filter logic.

Last edited by Frank; 26 May 21 04:47 PM.
Re: XTree - Filtering - Sub Levels? [Re: Steve - Caliq] #34337 26 May 21 06:18 PM
Joined: Jun 2001
Posts: 3,376
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,376
We have already the "filter to cell value" (my favourite), maybe it could be extended to work within multilevel trees?
Just shooting!


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: XTree - Filtering - Sub Levels? [Re: Steve - Caliq] #34338 26 May 21 06:27 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
I could imagine an option on the context menu to filter the current branch only, or maybe the current level only. But I'm not sure it would very clear to the user what was meant by those options.

Re: XTree - Filtering - Sub Levels? [Re: Steve - Caliq] #34339 26 May 21 06:29 PM
Joined: Sep 2003
Posts: 4,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
Good idea.
Maybe only clever users would use them ? :-)

Re: XTree - Filtering - Sub Levels? [Re: Steve - Caliq] #34340 26 May 21 08:12 PM
Joined: Sep 2002
Posts: 5,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
Well straight up column filtering is available at the column header. Rt-click knows if you are in a sub-level, maybe the verbiage for the popup could be sub-level filter. And right Steve, if you can't figure it out maybe you shouldn't use it! laugh

Re: XTree - Filtering - Sub Levels? [Re: Steve - Caliq] #34341 27 May 21 12:25 AM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
I'm not sure I'm clever enough to figure out how it should work!

Re: XTree - Filtering - Sub Levels? [Re: Steve - Caliq] #34342 27 May 21 01:40 AM
Joined: Sep 2002
Posts: 5,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
laugh


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3