Author Topic: How to disable checkbox from heading  (Read 4398 times)

nuno.nogueira

  • Pro Economy
  • Jr. Member
  • *
  • Posts: 95
    • View Profile
How to disable checkbox from heading
« on: April 05, 2014, 09:35:44 pm »
Hello,

I'm using the cellClick event to bind a checkbox column to the database.
Because this event isn't capturing the data when the checkbox of the heading (select/unselect all), I need to replace it by a common title.
But how can I do that?
This is the code of the column in question:
Code: [Select]
{ title: "Receber?", width:0.05*larguraJanela, dataIndx: "estado", align: "center", type:'checkBoxSelection', cls: 'ui-state-default',
            resizable: false, sortable:false}


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to disable checkbox from heading
« Reply #1 on: April 06, 2014, 11:51:33 am »
make cbHeader: false in selectionModel

http://paramquery.com/pro/api#option-selectionModel

nuno.nogueira

  • Pro Economy
  • Jr. Member
  • *
  • Posts: 95
    • View Profile
Re: How to disable checkbox from heading
« Reply #2 on: April 07, 2014, 02:34:17 pm »
Ok, I got it, thanks!