Announcement

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

    Retrieve group summary values from ListGrid

    I am trying to find a way to retrieve the values calculated by the ListGrid for group summary rows. I would like to take these summarized values and use them in another component. However, I have not found any way to do this after scouring the ListGrid API.
    The setGroupSummaryRecordProperty suggests that there are distinct Record objects in the ListGrid that contain the group summary data, however when I iterate over the Records from ListGrid.getRecords() I get only the data records themselves, no separate group summary records.

    I would also be interested in knowing if there is a way to produce the Group Summary data outside a ListGrid.

    Thanks

    #2
    Don't use getRecords(), use getRecordList() or getGroupTree().

    Comment


      #3
      I found getGroupTree() and was able to pull the summary nodes out of there.
      Thanks for the response.

      Comment


        #4
        I just struggled with this same problem and had to scour the forums to figure it out too.

        It would be helpful if the documentation for ListGrid.getGroupSummaryData had this suggestion and possibly a simple example.

        Comment

        Working...
        X