Announcement

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

    Issue with multiple summary functions

    Hello,

    I noticed that there is a problem if both setSummaryFunction and addSummaryFunction methods are called to set multiple summary functions in GridSummary for a ListGridField.

    You can see the problem in the following showcase example:
    http://www.smartclient.com/smartgwt/...d_ml_summaries
    In GridMultiLineSummariesSample.Java you have set a "First Order" SummaryFunction for the "shipDateField" using setSummaryFunction method and a "Last Order" SummaryFunction using addSummaryFunction, but as you can see only "Last Order" SummaryFunction is included in grid summary of your example.

    A workaround until you fix it would be to set both summary functions using the addSummaryFunction method.

    I have tested it with the following GWT, SmartGWT and browser versions on Windows 7 and Ubuntu 12.10:

    GWT 2.5.0.
    SmartClient Version: 3.1p LGPL 2013-05-02 [v8.3p_2013-05-02/LGPL Development Only (built 2013-05-02)].
    Firefox 21.0, Chrome 23.0.1271.95, Internet Explorer 9.0.8112.16421.

    Thanks
Working...
X