ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: wmwa on June 04, 2015, 12:38:08 am

Title: Checkbox column and summary row
Post by: wmwa on June 04, 2015, 12:38:08 am
I specialize in strange combinations of things.

I have a grid with a checkbox column, but also a summary row like in your JSON Summary example. Is there a way to tell pqGrid not to show the checkbox in the summary row?
Title: Re: Checkbox column and summary row
Post by: paramvir on June 04, 2015, 03:02:25 pm
1) Add some property to the summary rows e.g., nochk: true to distinguish them from main grid rows.

2) Implement render callback for the checkbox column.

Code: [Select]
render: function(ui){
if ( ui.rowData.nochk ){
return "";
}
}