Thanks for considering this.
Your current approach might work adequately for grids with a large number of root, level 0, nodes and relatively few leaf nodes for each root.
However I am trying to show the files structure of a video recorder and I only have a single root node, multiple sub directory nodes and potentially hundreds of leaf nodes (recordings).
With your current filter approach every search would return either the entire tree or nothing while I need something closer to Windows file search showing the path to just the matching items.
As an interim step between current processing and my desired result could you consider not expanding the nodes that don’t have ‘black’ in any of their offspring. This would give a more compact result.
|
1 2 3 4 5 6 7 8 9 |
ELECTRONICS 0.00 0 TELEVISIONS 0.00 0 TUBE 0.00 0 26 " TV 200.00 1 black 30 " TV 350.00 2 black LCD 0.00 0 PLASMA 0.00 0 PORTABLE ELECTRONICS 0.00 0 |
MymsMan
Hello,
When searching in tree we return the the full tree node which contain black.
This is standard in tree searching.See another such components to see it in action
Kind Regards,
Will
What is the expected result when using the example?
Like the other posters I don’t think the example is working
I either see the full tree with no indication of which rows include the matched lines, or I see a totally empty grid if I enter a term that doesn’t exist.
After searching for ‘black’ I would expect to see the rows that include black, their parents (and possibly children) but extraneous nodes should be hidden
eg when filtering for black I expect to see
|
1 2 3 4 5 6 |
ELECTRONICS 0.00 0 TELEVISIONS 0.00 0 TUBE 0.00 0 26 " TV 200.00 1 black 30 " TV 350.00 2 black |
I do not expect to see
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
LCD 0.00 0 Super-LCD 42" 400.00 10 all PLASMA 0.00 0 Ultra-Plasma 62" 440.00 2 silver Value Plasma 38" 312.00 0 silver PORTABLE ELECTRONICS 0.00 0 MP3 PLAYERS 0.00 0 FLASH 0.00 0 Super-Shuffle 1gb 20.00 11 all 5Gb Flash 0.00 0 10Gb flash 0.00 0 Power-MP3 128mb 123.00 2 withe CD PLAYERS 0.00 0 Porta CD 10.00 0 CD To go! 110.00 11 2 WAY RADIOS 0.00 0 Family Talk 360 200.00 15 |
since they are not parent or children o
MymsMan
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top