NTreeList GroupBy support


Author
Message
Craig Swearingen
Craig Swearingen
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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
Craig Swearingen
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
Posts: 99, Visits: 654
Thanks very much.  I never saw the Ungroup and UngroupAll methods.  That provides exactly what I need.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search