Announcement

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

    ListGrid.recalculateSummaries

    Expected: ListGrid.recalculateSummaries should recompute the SummaryFunction of the totalField.

    Observed: recalculateSummaries calls the record summary function but dos not call the SummaryFunction.

    Will write a test-case shortly.

    Code:
     totalField.setSummaryFunction(getTotalSummaryFunction());
     totalField.setRecordSummaryFunction(getRecordSummaryFunction());
    Is it possible for me to programmatically control when the summary calculations are performed? That is have no automatic calculation, have it be entirely invoked programmatically.

    #2
    Also, it seems I can edit the Summary row. That seems strange!

    Comment


      #3
      This was my fault (as per usual). Putting some debug messages in shows how the summary functions are called. I had made the mistake using one of the summary methods to create and update a variable that the others were dependent on.

      However, I am still able to edit the Summary row. That seems like a bug.

      Comment

      Working...
      X