ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: ali on February 25, 2017, 09:32:22 pm

Title: checkbox selectAll performance issue between v2.0.4 and 2.1.0/2.2.0
Post by: ali on February 25, 2017, 09:32:22 pm
There seems to a massive performance gap between v2.0.4 and newer version of the free gird v2.1.0 & v2.2.0 when it comes to selecting  up to 1000 rows via the selectAll checkbox.

Easiest way to show and demo this is via this demo;
https://paramquery.com/demos/selection_checkbox

- copy and paste the data so they are at least 1000 rows
- set pageModel: {type:"local", rPP:1000 }, - to display 1000 rows by default
- set flexHeight:false, - makes it easier to view the grid, makes no difference to this demo if true or false

selectAll on checkbox in the header and it takes roughly about 11-12 seconds (tested on a i5-5275u, 8gb ram and i7 with 32gb ram - times are roughly the same). The action completes eventually after 12 seconds in Chrome. Firefox and IE will give an script error as it's been running too long;

(http://www.zulm.net/images7/Capture1.JPG)

I've run the same test on v2.1.0 and v2.2.0 and get the same results.

The same test on v2.0.4 doesn't have this performance lag - the selectAll is pretty much instant.

Any fix for this?
Title: Re: checkbox selectAll performance issue between v2.0.4 and 2.1.0/2.2.0
Post by: ali on May 24, 2017, 02:27:58 pm
Any update on this?
Title: Re: checkbox selectAll performance issue between v2.0.4 and 2.1.0/2.2.0
Post by: paramvir on May 24, 2017, 03:24:15 pm
Please use virtual mode.

virtualX: true and virtualY: true