Author Topic: checkbox selectAll performance issue between v2.0.4 and 2.1.0/2.2.0  (Read 2583 times)

ali

  • Newbie
  • *
  • Posts: 5
    • View Profile
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;



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?

ali

  • Newbie
  • *
  • Posts: 5
    • View Profile
Any update on this?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Please use virtual mode.

virtualX: true and virtualY: true