ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: rickpqu on September 02, 2015, 03:08:44 am
-
Hi, I have been testing ParamQuery Pro version 3 with a data which has 250,000 rows. It seems to load the data over the net, but when filters were applied, the Chrome browser gave the following error:
>Uncaught RangeError: Maximum call stack size exceeded
l.filterLocalData @pqgrid.min.js:421
m._onDataAvailable @pqgrid.min.js:310
(anonymous function) @jquery-ui.min.js:6
m.filter: @pqgrid.min.js:307
(anonymous function) @jquery-ui.min.js:6
(anonymous function) @jquery-ui.min.js:6
v.extend.each @jquery.min.js:2
v.fn.v.each @jquery.min.js:2
e.widget.bridge.e.fn (anonymous function) @jquery-ui.min.js:6
updateFilter @my_page.js:179
(anonymous function) @my_page:1803
I would appreciate any advice on how to solve this problem.
-
The error doesn't seem to be related to the number of rows. What filtering type have you used : 'local' or 'remote'. Have you checked with lesser number of rows, do you get the same error.
Please share a small test case or a jsfiddle.
-
I'm using local filtering. With more testing, I found that the error happens when the part of the table I am seeing is, for example, line 10000, and after filtering if the total number of rows of the table becomes, for example, 1000. So, when the row number that I am seeing becomes greater than the total number of rows or something like that caused the error, in all of my testing. If I can make a testing page, I'll share it here.
-
Thanks for mentioning the steps, there is an error as below when there are more than 10,000 rows initially, scroll to the bottom, and filter the records so that final record count is < 10,000.
Cannot read property 'pq_detail' of undefined.
It has been fixed in the next version. If any one facing the same issue, please let know if you need a patch.