ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: bwt on November 21, 2020, 05:06:21 pm
-
i have a resizable react component
i put the pqgrid as a child of this grid
so it's like that
<Parent>
<Pqgrid/>
<parent/>
what i am asking for is i need to change the width and height of the paramqery grid to be 100% of the parent , so when i resize the parent , the grid take 100 width and height same like parent
ps: i cannot calculate the parent height and width for many reasons
-
There is no need to manually calculate the height / width of parent.
Height/ width of pqgrid can be assigned in percent. "100%"
-
when i assign it to 100% it take 100% of the data content not the parent ????
-
https://paramquery.com/pro/api#option-height
https://paramquery.com/pro/api#option-width
Please share a stackblitz if you are not getting expected result.