ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started 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.
-
use selectChange event
-
You can handle the click events for checkbox using check, beforeunCheck and unCheck events.
Refer this example https://paramquery.com/demos
Thanks,
VigneshPradeepan.