Announcement

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

    recordComponents show unwanted entries in groupSummaryRow

    Hi Isomorphic,

    I have a problem with recordComponents that are displayed in a groupSummaryRow. IMHO they should not be displayed, like they are not in gridSummaryRow.
    I have the problem in latest SmartGWT 5.1p (v10.1p_2017-02-22). But is it more easy reproduced in 11.0 SmartClient Feature Explorer (now on ISC_110_BRANCH_2017-02-15). Please add this to the gridCellWidgets-sample:
    Code:
    [B]ListGrid configuration:[/B]
        showGridSummary: true,
        showGroupSummary: true,
        groupByField: "continent",
    
    [B]ListGrid fields:[/B]
            { name: "population", title: "Population", summaryFunction:"sum" },
    Click image for larger version

Name:	UnwantedIcon.PNG
Views:	29
Size:	33.0 KB
ID:	243026

    As you can see the groupSummaryRow shows unwanted icons while the gridSummaryRow does not.

    Best regards
    Blama

    #2
    Hi Isomorphic,

    I should add that I'm also calling
    Code:
            setShowGridSummary(false);
            setShowGroupSummary(false);
    on my recordComponent-ListGridField in SmartGWT.

    Best regards
    Blama

    Comment


      #3
      Hi again.

      I just saw that I can solve it via
      Code:
          @Override
          public Canvas updateRecordComponent(ListGridRecord record, Integer colNum, Canvas component, boolean recordChanged) {
      [B]        if (record.getIsGroupSummary())
                  return null;[/B]
      ...
      ...
      But anyways the default behavior should be no component, like for the gridSummaryRow, IMHO.

      Best regards
      Blama

      Comment


        #4
        Hi Isomorphic,

        this is still true in the modified online showcase sample from #1 using v11.1p_2017-08-17.

        Best regards
        Blama

        Comment


          #5
          This has been fixed for builds dated August 19 and later

          Comment

          Working...
          X