Author Topic: determine grid height based on rows per page  (Read 2428 times)

gib65

  • Newbie
  • *
  • Posts: 3
    • View Profile
determine grid height based on rows per page
« 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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: determine grid height based on rows per page
« Reply #1 on: January 13, 2016, 12:43:22 pm »
use the option flexHeight: true

http://paramquery.com/api#option-flexHeight

gib65

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: determine grid height based on rows per page
« Reply #2 on: January 13, 2016, 09:10:54 pm »
Thanks. That works.