ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: 杨万里 on May 20, 2018, 12:49:04 pm

Title: how to Remove the vertical scrolling?
Post by: 杨万里 on May 20, 2018, 12:49:04 pm
 :( :( :(Hi,

1.how to Remove the vertical scrolling?
when id add rows ,then grid can change height automatically according to the number of lines;

2.how to know all rows height, then i can calc sum(rowheight) ,then i can to change the grid's height;

thinks for help me!
Title: Re: how to Remove the vertical scrolling?
Post by: paramvir on May 21, 2018, 10:15:20 pm
Please use height: 'flex'

https://paramquery.com/api#option-height
Title: Re: how to Remove the vertical scrolling?
Post by: 杨万里 on May 22, 2018, 06:15:14 am
It is work!
It is too magic.
thank you very much!