ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: vijay@spinetechnologies on January 17, 2022, 11:19:46 am

Title: Showing summary data for custom render columns
Post by: vijay@spinetechnologies on January 17, 2022, 11:19:46 am
Hi,

I am using summaryData method to bind the summary row in the footer of the grid and write a custom function to calculate the row data. It is working properly with integer and string column types. But in case a column has a custom render function then the summary row shows data for respective columns which is not required.

I want to show the summary data only to some selective columns

Please check the attachment. Here I don't want the selection checkbox and edit button in the summary row


Title: Re: Showing summary data for custom render columns
Post by: paramvir on January 17, 2022, 01:15:40 pm
Renderer logic can be made conditional depending upon rowData.

summary row has pq_grandsummary meta data

https://paramquery.com/pro/tutorial#topic-metadata

Code: [Select]
if( ui.rowData.pq_grandsummary ){ //grand summary row.
 
}