Announcement

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

    ListGrid is not showing the grid summary if the data is huge

    Hi, I could get the List summary for data of 2500 rows approximately, But if I try to display the data of 72603 rows its not showing the summary at the bottom.
    I am fetching the data as 2000 rows by setting setDataPageSize(2000) and I am showing the summary based on the column ..

    It shows summary for the column if the rows are less, and not showing the summary for the column if the rows are more, Is it because the rows are not loaded completely?

    my code
    setShowGridSummary(reportGridManager.getShowGridSummary());
    setShowGroupSummary(true);
    setShowGroupSummaryInHeader(true);

    setDataPageSize(2000);
    setGroupByMaxRecords(IntegerConst.RECORD_SIZE);

    my question is :

    1) if that is the case, how can I know whether the data is completely loaded in the grid?

    2)What changes I need to do to show the summary for the huge data?


    VERSION -

    SmartGwt version - SmartGWT Framework (v8.3p_2013-05-05/Enterprise Deployment 2013-05-05)


    Gwt version - 2.5.0

    Please suggest..

    #2
    Wrong forum (SmartClient instead of SmartGWT). We moved the thread.

    ResultSet.allMatchingRowsCached() will tell you whether all rows are loaded.

    If you have too many rows to load all at once, you can calculate summary values server-side and use a listGrid.summaryRowDataSource to fetch the values from the server. See the docs for this property for details.

    Comment

    Working...
    X