Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Multigrouping member count in groupNode.getGroupMembers().length not as expected

    Hi Isomorphic,

    I played around a bit with Multigrouping (http://www.smartclient.com/smartgwt/...ping_multi_new) and noticed the following:
    If you use groupNode.getGroupMembers().length inside the setGroupTitleRenderer(new GroupTitleRenderer() {...} of the topmost ListGridField (in the example that is "Category") you'll get as value the count of subgroups, not the count of the members inside the subgroups, e.g.:

    Code:
    category1 ([B]3[/B])
      mon (2)
         foo
         bar
      tue (2)
         abc
         xyz
      wed (1)
         def
    
    I expected:
    category1 ([B]5[/B])
      mon (2)
         foo
         bar
      tue (2)
         abc
         xyz
      wed (1)
         def
    Is this on purpose or a bug? If it is on purpose, is it possible to get the count of the members inside the subgroups as well?

    Thank you & best regards,
    Blama


    My environment:
    Firefox 23.0.1
    SmartGWT v9.0p_2013-08-17/EVAL Deployment 2013-08-17

    #2
    This is correct. There are 3 sub-groups, not five.

    Comment

    Working...
    X