Author Topic: how to hide alternet Checkbox  (Read 989 times)

sshede

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 41
    • View Profile
how to hide alternet Checkbox
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6307
    • View Profile
Re: how to hide alternet Checkbox
« Reply #1 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 + "";
}
}
},
« Last Edit: September 08, 2021, 10:26:17 am by paramvir »