ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: sshede on September 06, 2021, 07:07:44 pm

Title: how to hide alternet Checkbox
Post by: sshede on September 06, 2021, 07:07:44 pm
Hi,

How to hide alternate Checkbox for below Example.
https://paramquery.com/pro/demos77/selection_checkbox

Thanks,
Sagar Shede
Title: Re: how to hide alternet Checkbox
Post by: paramvir on September 08, 2021, 10:14:11 am
it can be done by implementing column.render callback for checkbox column.

Code: [Select]
                { title: "ID", width: 100, dataType: "integer", dataIndx: "id", type:'checkbox', cbId: 'state',
render: function(ui){
if(ui.rowIndx % 2 ==0){
return ui.cellData + "";
}
}
},