ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: jplevene on April 20, 2026, 05:03:59 am
-
Setting selectModel to below:
selectionModel: { type:"row", mode:"single", column:false, all:false, toggle:false},
Even though toggle is false, it still toggles.
My temporary fix for anyone else with the same issue is below:
rowClick: function(event, ui) {
var sel = that.grid.pqGrid("SelectRow");
if( !sel.isSelected({rowIndx:ui.rowIndx }) )
sel.add({rowIndx:ui.rowIndx});
},
-
It works as documented in the API
When false/undefined:
Clicking an unselected row replaces the whole selection
Clicking a selected row clears all selection
Ctrl + click needed to add/remove rows from selection
When true:
Clicking an unselected row adds it to selection
Clicking a selected row removes it