Announcement

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

    Issue with "emptyCellValue" showing in group and grid summary lines

    Hello,

    I noticed that if I set a value to a ListGrid to be displayed in cells whose values are null, using setEmptyCellValue method, this value will be displayed also in both group and listGrid summary lines of fields that are not set to show values in summary lines.

    You can reproduce the problem in the following showcase example:
    http://www.smartclient.com/smartgwt/...grid_summaries
    by addind the following line of code:
    Code:
    listGrid.setEmptyCellValue("-");
    If you compile this example using smartclient 2.5p LGPL 2013-05-02 [v8.1p_2013-05-02/LGPL Development Only (built 2013-05-02)], you will see that the empty cell value is be displayed in group summary line [attached file gridSummary_8.1p.jpg].
    If you compile it with 3.1p LGPL 2013-05-02 [v8.3p_2013-05-02/LGPL Development Only (built 2013-05-02)] it will be shown in both group and grid summary lines [attached file gridSummary_8.3p.jpg].
    E.g. although "quantityField" listGridField has showGroupSummary and showGridSummary set to false, empty cell value is shown in summary lines.

    A temporary workaround would be to set emptyCellValue directly to each ListGridField instead of setting it to ListGrid.

    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: 2.5p LGPL 2013-05-02 [v8.1p_2013-05-02/LGPL Development Only (built 2013-05-02)] and
    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
    Attached Files
Working...
X