ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: seb on November 19, 2018, 10:15:32 pm
-
Hello,
I have checkboxes in a column called 'state', and I have a button below my grid that fetches all the ticked checkboxes.
However, this function does not work (it says "Uncaught TypeError: $(...).Checkbox is not a function"):
function getChecked() {
var boxes = $("#grid").Checkbox('state');
}
What is the correct way to access the Checkbox object when using an external button please?
Thank you,
Seb
-
Ok, so for anyone wondering, the method to call this function outside of the grid is as follows:
$grid.pqGrid("Checkbox", "state");