ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: arbyter on September 26, 2022, 04:29:26 pm

Title: height: "flex"
Post by: arbyter on September 26, 2022, 04:29:26 pm
hi Paramvir
when i use flex as value  of heigt, the whole Grid freezes.
I tried it also in your Million Record Demo, there it is the same.
Title: Re: height: "flex"
Post by: paramvir on September 26, 2022, 08:50:47 pm
Of course, height: flex with million records would freeze the grid and eventually crash the web page / browser because height 'flex' causes the whole DOM of the grid to be rendered unless virtualWin is used.

Please check this example  https://paramquery.com/pro/demos/virtual_window


Otherwise height: flex can be used only for upto few hundred records.

Beyond that use the virtual rendering of the grid by using ( maxHeight along with flex ) or defining finite height.