Announcement

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

    Unable to show summary values - dataset not completely loaded

    I have a list grid which include grid and group summaries. When the number of rows returned is large I see a warning message repeated in the console.
    Code:
    10:26:11.777:XRP5:WARN:ListGrid:isc_IpListGrid_9:Unable to show summary values - dataset not completely loaded
    10:26:11.841:XRP5:WARN:ListGrid:isc_IpListGrid_9:Unable to show summary values - dataset not completely loaded
    10:26:11.879:XRP5:WARN:ListGrid:isc_IpListGrid_9:Unable to show summary values - dataset not completely loaded
    10:26:11.912:XRP5:WARN:ListGrid:isc_IpListGrid_9:Unable to show summary values - dataset not completely loaded
    10:26:11.978:XRP5:WARN:ListGrid:isc_IpListGrid_9:Unable to show summary values - dataset not completely loaded
    10:26:12.002:XRP5:WARN:ListGrid:isc_IpListGrid_9:Unable to show summary values - dataset not completely loaded
    10:26:12.032:XRP5:WARN:ListGrid:isc_IpListGrid_9:Unable to show summary values - dataset not completely loaded
    10:26:12.065:XRP5:WARN:ListGrid:isc_IpListGrid_9:Unable to show summary values - dataset not completely loaded
    10:26:12.099:XRP5:WARN:ListGrid:isc_IpListGrid_9:Unable to show summary values - dataset not completely loaded
    Is the warning message anything I should pay attention to?

    Also, is setGroupByMaxRecords() the way to control the size of the data set that will be summarized? The docs say the default is 1000 records but I'm not getting grid totals until I scroll to the end of the list when the list only has 135 rows.

    #2
    Whole-grid summaries are computed client-side and do require a fully-loaded dataset, so set dataFetchMode:"basic" to force this. If the dataset is too large, set summaryRowDataSource to provide a DataSource from which calculated summaries can be fetched.

    Comment


      #3
      If I want to just extend the number of records that will get read initially I can just use setDataPageSize(), correct? That way I can set a reasonable size that will get grid summaries in most situations.

      Is there any way to disable the warning message? Or at least get just one. As it is now the console fills up with dozens of these messages each time.

      Comment


        #4
        You could use the callback to fetchData() or the DataArrived event to check the data length and turn off the whole-grid summary via setShowGridSummary(false). This would also be a good place to put up a notification like "Work with fewer rows to see automatically calculated totals".

        Comment

        Working...
        X