Author Topic: virtualX, virtualY property in latest PQ version 5.1.0  (Read 3510 times)

cijojohn

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 73
    • View Profile
virtualX, virtualY property in latest PQ version 5.1.0
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: virtualX, virtualY property in latest PQ version 5.1.0
« Reply #1 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.

cijojohn

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 73
    • View Profile
Re: virtualX, virtualY property in latest PQ version 5.1.0
« Reply #2 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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: virtualX, virtualY property in latest PQ version 5.1.0
« Reply #3 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.

cijojohn

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 73
    • View Profile
Re: virtualX, virtualY property in latest PQ version 5.1.0
« Reply #4 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: virtualX, virtualY property in latest PQ version 5.1.0
« Reply #5 on: February 13, 2018, 10:50:46 am »
You can use height:'flex' and width:'flex' to render all the cells.