Announcement

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

  • mathias
    replied
    Hey Blama, thanks for pitching in!

    Yeah seen it, thanks. In my case, i group by user name, and i want to continue doing that.

    I just want the group title (you know, next to the "+") to not just print the user name, i have a custom way i want it to print.

    And prior to 5.0 i could do it as described.

    However, i did see something else when i followed your link, "groupTitleRenderer" which i don't think was there prior to 5. I'll look at that.

    Leave a comment:


  • Blama
    replied
    Hi mathias,

    did you already see ListGridField.setGroupValueFunction()?

    Best regards
    Blama

    Leave a comment:


  • setting grouptree header not working as before in 5.0

    Hi,

    we're using grouped listgrids to display data. We change the group node titles from "Name" to "Name, xx.xx hours" where we get the "xx.xx" value from the group summary field.

    Now, in 5.0 this has stopped working, the title isn't set anymore.

    The code to do this is:
    Code:
    groupNode.setAttribute("singleCellValue", groupNode.getAttribute("groupValue") + ": " + formatter.format(sum, groupNode, 1, 1) + " " + unitName);
    So, basically setting the "singlecellvalue" attribute on the group treenode no longer has any effect, it's not changed on-screen as it was in 4.x.

    I debugged and both the groupvalue and singlecellvalues are still part of the node.


    Have you changed this behaviour? I hope i can still do this some other way?
Working...
X