ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: nsymons on August 30, 2018, 12:31:07 am

Title: ParamQuery Pro v3.3.2. flex height and virtualY issue
Post by: nsymons 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",
....
}
Title: Re: ParamQuery Pro v3.3.2. flex height and virtualY issue
Post by: paramvir 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.