1
Help for ParamQuery Pro / Multi-selection fails with initial selection
« on: July 02, 2026, 07:11:54 pm »
Hi at pqgrid,
We experienced a problem with initial selection being set and the use of "Shift+click" to do multi-cell selection.
Its reproducable in demo following these steps,
* Open demo: https://paramquery.com/pro/demos/grid_parts
* Insert this line after creating grid, f.x. on line 102: grid.setSelection({ rowIndx: 0, colIndx: 0})
* Run (top, leftmost cell is selected as expected)
* Hold shift and click on a different cell to do a block selection
Nothing happens and this error is displayed in console:
Uncaught TypeError: can't access property "r1", n is undefined
resize https://paramquery.com/pro2/content/js11.2.0/pqgrid.min.js?4:32
resizeOrReplace https://paramquery.com/pro2/content/js11.2.0/pqgrid.min.js?4:32
onCellMouseEnter https://paramquery.com/pro2/content/js11.2.0/pqgrid.min.js?4:32
...
We experienced a problem with initial selection being set and the use of "Shift+click" to do multi-cell selection.
Its reproducable in demo following these steps,
* Open demo: https://paramquery.com/pro/demos/grid_parts
* Insert this line after creating grid, f.x. on line 102: grid.setSelection({ rowIndx: 0, colIndx: 0})
* Run (top, leftmost cell is selected as expected)
* Hold shift and click on a different cell to do a block selection
Nothing happens and this error is displayed in console:
Uncaught TypeError: can't access property "r1", n is undefined
resize https://paramquery.com/pro2/content/js11.2.0/pqgrid.min.js?4:32
resizeOrReplace https://paramquery.com/pro2/content/js11.2.0/pqgrid.min.js?4:32
onCellMouseEnter https://paramquery.com/pro2/content/js11.2.0/pqgrid.min.js?4:32
...
