ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: vijay@spinetechnologies on June 10, 2022, 05:08:18 pm

Title: Refresh the summaryData after the updateRow
Post by: vijay@spinetechnologies on June 10, 2022, 05:08:18 pm
Hi Paramveer,

I want to update the summary data records after the updateRow event.  Is there any way to update the same?
Title: Re: Refresh the summaryData after the updateRow
Post by: paramvir on June 10, 2022, 07:14:17 pm
Summary set up with column.summary API or excel methods is automatically updated when data in grid is updated by updateRow method.

There is no need to update it manually.
Title: Re: Refresh the summaryData after the updateRow
Post by: vijay@spinetechnologies on June 13, 2022, 10:17:25 am
can you please provide an example with the column.summary method
Title: Re: Refresh the summaryData after the updateRow
Post by: paramvir on June 13, 2022, 10:52:34 pm
column.summary definition example is provided here: https://paramquery.com/pro/api#option-column-summary

And turn on the groupModel option to make the column.summary option work.

Code: [Select]
groupModel: {
        on: true,
grandSummary: true,
        header: false
}