ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: kiwon34 on January 29, 2020, 01:23:01 pm

Title: Only make checkbox header editable.
Post by: kiwon34 on January 29, 2020, 01:23:01 pm
Hello param,

I have a column of checkbox. And the checkbox is shown in header.
The entire column is not editable by default. But I only want the header checkbox to be able to check.
And when header is checked, I want to get callback by an event, so I could update certain data.

Thank you.
Title: Re: Only make checkbox header editable.
Post by: paramvir on January 29, 2020, 03:13:19 pm
Whole checkbox column can be made uneditable by adding editable: false to the column.

And header checkbox check can be intercepted by listening to beforeCheck event

Code: [Select]
beforeCheck: function(evt, ui){
debugger;
},