Profile Picture

NTreeList GroupBy support

Posted By Craig Swearingen 12 Years Ago
Author
Message
Craig Swearingen
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 99, Visits: 654

1) I'd like to have a single NTreeList with three views showing either a list of nodes, nodes grouped by column 6, or nodes grouped by column 7.  It doesn't appear the NTreeList.GroupBy method supports this.  When I call it with null or on a different column it doesn't work as desired.  It seems once I call GroupBy I can never call it again on that NTreeList.  I found no way to refresh the NTreeList even if I cleared everything first.  The only solution I can think of is to have multiple NTreeList widgets for each view.  I've tried every way of calling GroupBy and EnableGroupBy I can think of to make this work.  Is there a way I can do what I want with a single NTreeList?

2) When I successfully call GroupBy I noticed my group node's height is taller than the other nodes.  Is there a way I can change the height of the group node?



Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi Craig,

If you call GroubBy method for a different columns grouping is cumulative. To just change the grouping to another column first you need to call UngroupAll method and then call GroupBy for the new column.

Currently, you cannot change the height of group by node. In the next release we will add a new property which will allow this.

Best Regards,
Nevron Support Team



Craig Swearingen
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 99, Visits: 654
Thanks very much.  I never saw the Ungroup and UngroupAll methods.  That provides exactly what I need.



Similar Topics


Reading This Topic