Author Topic: ParamQuery Pro v3.3.2. flex height and virtualY issue  (Read 1729 times)

nsymons

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 11
    • View Profile
ParamQuery Pro v3.3.2. flex height and virtualY issue
« on: August 30, 2018, 12:31:07 am »
Hello,

When the user selects the last row of data in the grid the grid will fill out to the maxHeight value set and displays white space under the last row of data. When the user then selects the top row the white space disappears and the height of the grid is changed to the proper height with height: 'flex' to not display white space after the final row of data. This only occurs when there is not enough data to fill the grid to its maxHeight. Is this an issue with just the Pro v3.3.2?

Here is a snippet of the object.

var cashObj = {
  width: 'auto',
  height: 'flex',
  maxHeight: 650,
  freezeCols: 4,
  virtualX: true,
  virtualY: true,
  numberCell: {show: false},
  title: "Cash",
....
}

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: ParamQuery Pro v3.3.2. flex height and virtualY issue
« Reply #1 on: August 30, 2018, 12:06:28 pm »
virtualY: true and height: 'flex' can't be used together in all versions earlier than v5.x

v5.x doesn't have virtualX, virtualY options anyway.
« Last Edit: August 30, 2018, 12:10:25 pm by paramquery »