1
Help for ParamQuery Grid (free version) / Re: How to set checkboxes outside the viewport when using virtualX/virtualY?
« on: June 12, 2023, 02:24:13 pm »
Anyone? Would be nice to get the undo/redo options working.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
myGrid.pqGrid( "getColModel" )
I extracted the names of the columns and the values of cb.check and put this in an array.colModelArray["colA" => 18, "colB" => 24, "colC" => 33]
let selectionArr = myGrid.pqGrid( "selection",
type: 'cell', method: 'getSelection' }
);
for (var i = 0; i < selectionArr.length; i++) {
let value = myGrid.pqGrid( "getCell", { rowIndx: selectionArr[i].rowIndx, dataIndx: selectionArr[i].dataIndx, refresh: true } );
$(value[0]).find('input').trigger('click');
}
myGrid.pqGrid( "data", {rowIndx: selectionArr[1].rowIndx} ).data;