ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: JIMAN SON on February 10, 2021, 10:48:48 am

Title: Blank space on double click ( when height option is '%' )
Post by: JIMAN SON on February 10, 2021, 10:48:48 am
When Grid Option Setting is  - height: "100%"

When double click a data space  and click another data space , a blank space is created below.

If this status continues
The grid slows down a lot.

What should I do?

Below is the code.

https://stackblitz.com/edit/paramquery-react?file=index.js

thanks .
Title: Re: Blank space on double click ( when height option is '%' )
Post by: paramvir on February 10, 2021, 02:57:48 pm
height in % as such doesn't make sense unless its immediate parent element has a defined height:

Example with defined height of parent of grid: https://stackblitz.com/edit/paramquery-react-hk7ssb?file=index.html

If your intention is to make grid height in % relative to body irrespective of immediate parent element, then use dimsRelativeTo option available since v7.6

https://paramquery.com/pro/api#option-dimsRelativeTo