ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: Mendrace on May 15, 2016, 05:53:54 pm

Title: Remote Summary
Post by: Mendrace on May 15, 2016, 05:53:54 pm
Hi.

I need a summary Row with remote Data (JSON). Is that possible?

Thanks
Title: Re: Remote Summary
Post by: paramvir on May 16, 2016, 11:46:16 am
Yes. There are 2 kind of summaries, both can be used with remote and local data:

1. For manual summary with remote data, add summaryData option in the load event of the grid.

Code: [Select]
  load: function(){
    this.option( 'summaryData', summary_data_array );
  }

2. For auto summary, define grandSummary: true in groupModel and add aggregate types in column.summary.type
Title: Re: Remote Summary
Post by: Mendrace on May 17, 2016, 02:04:52 am
Thanks a lot.