ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: iamgsprabhu on May 29, 2016, 09:57:39 am
-
Hi.
I have a grid with type as select, and I want to hide a column on another grid. I saw the example on (http://paramquery.com/demos/showhide_columns). I want to implement something similar, but instead of menu, I will have the checkbox on a grid ? I tried the event rowSelect, rowUnselect, cellSelect and cellUnselect, but all four does not trigger the event.
Kindly advise, how can I trigger an event when the checkbox is selected or unselected ?
thx
Prabhu
-
Try cellClick event:
cellClick: function(evt, ui){
if(ui.column.type == 'checkBoxSelection'){
alert("rowIndx = " + ui.rowIndx + ", value = "+ui.rowData.state );
}
},
-
Perfect, it worked for me.
thx
Prabhu