ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: JUNZHONG on September 09, 2016, 08:45:40 pm

Title: Click event of Header checkbox
Post by: JUNZHONG on September 09, 2016, 08:45:40 pm
Hi,

I have a paramquery grid with pagination, a check box column and filters for the columns. I want to be able to catch the  click event for all the check boxes including the header checkbox. I was able to get the click event for all the checkboxes by adding cellClick: function(evt, ui){} for the grid and finding the right cell but this does not catch the header checkbox.
I have tried cellClick, rowSelect, rowUnselect, onClick and onchange, but none of them give me the result I am looking for.

I would greatly appreciate if someone can suggest how to get the header checkbox click event, also suggest if there is a better way to get the checkbox click event as well.

Thank you.





Title: Re: Click event of Header checkbox
Post by: Mohammed Nayeem on December 18, 2018, 08:27:35 pm
use selectChange event
Title: Re: Click event of Header checkbox
Post by: VigneshVpn on December 20, 2018, 07:05:48 pm
You can handle the click events for checkbox using check, beforeunCheck and unCheck events.

Refer this example https://paramquery.com/demos



Thanks,
VigneshPradeepan.