This is related to the example in this thread, http://forums.smartclient.com/showthread.php?t=24769
SmartGWT 3.1, GWT 2.5.0, FF 17.0.1
The summary for 'accuracy' column shows the correct value when it first drawn, which is basically a SUM function. Whenever I click a checkbox within the grid, the summary function got triggered again, which is what I expected and wanted. But the issue here is that all the records passed into the getSummaryValue() method got the value of the checked row. For example, if you check the row with Accuracy=1, the summary becomes 6. For Accuracy=2, summary=12...etc.
Sorting the grid reset the summary to the correct value. Can you please take a look of the attached sources.
SmartGWT 3.1, GWT 2.5.0, FF 17.0.1
The summary for 'accuracy' column shows the correct value when it first drawn, which is basically a SUM function. Whenever I click a checkbox within the grid, the summary function got triggered again, which is what I expected and wanted. But the issue here is that all the records passed into the getSummaryValue() method got the value of the checked row. For example, if you check the row with Accuracy=1, the summary becomes 6. For Accuracy=2, summary=12...etc.
Sorting the grid reset the summary to the correct value. Can you please take a look of the attached sources.
Comment