ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: pranit@srcomsec on November 11, 2022, 07:29:35 pm

Title: Filter data display issue after updating row
Post by: pranit@srcomsec on November 11, 2022, 07:29:35 pm
The grid is not refreshing after updating the row data value so grid data will be displayed without filter parameters.

Please refer to the screenshot attached and let me know how to display rows with the status "EPending" only if any row data is updated with different Status.

Title: Re: Filter data display issue after updating row
Post by: paramvir on November 11, 2022, 10:38:36 pm
Filter is not refreshed by default after update due to performance reasons.

Please add this to grid initialization option to refresh filter after update:

Code: [Select]
change: function(){
this.filter();
},
Title: Re: Filter data display issue after updating row
Post by: pranit@srcomsec on November 14, 2022, 12:37:47 pm
Thank you, the functionality is working but we are getting the below javascript error in the console.
--------------------------------------------------
pqgrid.min.js:9 Uncaught TypeError: Cannot read properties of undefined (reading 'refresh')
    at A.refresh (pqgrid.min.js:9:58889)
    at a.paramquery.cCheckBoxColumn.checkNodes (pqgrid.min.js:9:115361)
    at V.<computed>.<computed>.<anonymous> (pqgrid.min.js:9:116400)
    at p (pqgrid.min.js:9:9904)
    at t._trigger (pqgrid.min.js:9:10392)
    at a (pqgrid.min.js:9:50394)
    at HTMLDivElement.<anonymous> (pqgrid.min.js:9:50649)
    at HTMLDivElement.dispatch (jquery.js:5430:27)
    at elemData.handle (jquery.js:5234:28)
---------------------------------------------------------------

Title: Re: Filter data display issue after updating row
Post by: paramvir on November 14, 2022, 02:19:28 pm
Please share a jsfiddle.