ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: nuno.nogueira on April 05, 2014, 09:35:44 pm

Title: How to disable checkbox from heading
Post by: nuno.nogueira 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}

Title: Re: How to disable checkbox from heading
Post by: paramvir on April 06, 2014, 11:51:33 am
make cbHeader: false in selectionModel

http://paramquery.com/pro/api#option-selectionModel
Title: Re: How to disable checkbox from heading
Post by: nuno.nogueira on April 07, 2014, 02:34:17 pm
Ok, I got it, thanks!