ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: cijojohn on February 02, 2018, 10:32:06 am

Title: virtualX, virtualY property in latest PQ version 5.1.0
Post by: cijojohn on February 02, 2018, 10:32:06 am
 Hello Team,

 Is there any way we can still use virtualX, virtualY property in PQ version 5.1.0 . Because we are having automated performance testing
 based on virtualX, virtualY options. Please let us know.

 
 Thanks
Title: Re: virtualX, virtualY property in latest PQ version 5.1.0
Post by: paramvir on February 02, 2018, 10:38:23 am
You can use the options, but they are ignored as the grid always renders in virtual mode.
Title: Re: virtualX, virtualY property in latest PQ version 5.1.0
Post by: cijojohn on February 06, 2018, 10:32:16 am
Is there a way to not ignore them, we want to use this functionality.
Our automated testing depends on the data available in DOM, since virtual data is unavailable, this option doesn't work for us.
Let us know, if there is a patch or something else which will help.
Title: Re: virtualX, virtualY property in latest PQ version 5.1.0
Post by: paramvir on February 06, 2018, 11:20:58 am
Only visible cells are rendered in viewport for performance reasons.

You don't want to sacrifice performance to pass your tests.

Rather you might need to update your tests so that they don't make any assumption of availability of DOM outside the viewport.
Title: Re: virtualX, virtualY property in latest PQ version 5.1.0
Post by: cijojohn on February 13, 2018, 10:47:36 am
We need this feature for functional test and not for performance test. Please let us know, if a work around is available for this
Title: Re: virtualX, virtualY property in latest PQ version 5.1.0
Post by: paramvir on February 13, 2018, 10:50:46 am
You can use height:'flex' and width:'flex' to render all the cells.