1
Bug Report / GroupModel range filter errors when setting a group column filter to null
« on: October 20, 2022, 12:20:06 am »
I understand why the grouped column can't be filtered by null.
I am looking for documentation on how to prevent the range filter on a grouped column from allowing a null selection in the first place.
Something like:
OR when null keep the range selection open until something is selected
On the attached image, Year is grouped. If you attempt to filter to 1 year, you might click deselect all. Which results in null and the following error.
Here is the error.
Running jQuery 3.6.1, jQuery UI 1.13.2 and pq 8.6.0
I am looking for documentation on how to prevent the range filter on a grouped column from allowing a null selection in the first place.
Something like:
Code: [Select]
minCheck = 1;
OR when null keep the range selection open until something is selected
On the attached image, Year is grouped. If you attempt to filter to 1 year, you might click deselect all. Which results in null and the following error.
Here is the error.
Quote
Uncaught TypeError: Cannot read properties of undefined (reading 'refresh')
at $.refresh (pqgrid.min.js:9:58950)
at a.paramquery.cCheckBoxColumn.checkNodes (pqgrid.min.js:9:115422)
at a.paramquery.cCheckBoxColumn.checkAll (pqgrid.min.js:9:114803)
at a.paramquery.cCheckBoxColumn.onHeaderChange (pqgrid.min.js:9:8598)
at HTMLInputElement.<anonymous> (pqgrid.min.js:9:9121)
at HTMLInputElement.dispatch (3.6.1.min.js:2:43064)
at y.handle (3.6.1.min.js:2:41048)
$.refresh @ pqgrid.min.js:9
checkNodes @ pqgrid.min.js:9
checkAll @ pqgrid.min.js:9
onHeaderChange @ pqgrid.min.js:9
(anonymous) @ pqgrid.min.js:9
dispatch @ 3.6.1.min.js:2
y.handle @ 3.6.1.min.js:2
Show 5 more frames
Running jQuery 3.6.1, jQuery UI 1.13.2 and pq 8.6.0