Author Topic: Showing summary data for custom render columns  (Read 636 times)

vijay@spinetechnologies

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 87
    • View Profile
Showing summary data for custom render columns
« 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



paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Showing summary data for custom render columns
« Reply #1 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.
 
}