ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: gib65 on January 13, 2016, 12:32:40 pm

Title: determine grid height based on rows per page
Post by: gib65 on January 13, 2016, 12:32:40 pm
Hello,

I'm experimenting with paging and I noticed the number of rows per page does not determine the height of the grid. I set it to 13 rows per page and I still have to scroll down to see the 13th row. I am not setting the height in my code explicitly. Is there a way to configure the grid to determine its height based on the number of rows per page?

Thanks.
Title: Re: determine grid height based on rows per page
Post by: paramvir on January 13, 2016, 12:43:22 pm
use the option flexHeight: true

http://paramquery.com/api#option-flexHeight
Title: Re: determine grid height based on rows per page
Post by: gib65 on January 13, 2016, 09:10:54 pm
Thanks. That works.