Author Topic: Grid Height dynamic change  (Read 3932 times)

bsolteam

  • Pro Deluxe
  • Full Member
  • *
  • Posts: 107
    • View Profile
Grid Height dynamic change
« on: October 27, 2014, 05:31:16 pm »
Hi Paramquery Team
How to adjust height of the grid based on window size to become a responsive structure support for all devices such as desktop, tablet, mobile devices dynamically



Thanks & Regards
Bsol Team

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Grid Height dynamic change
« Reply #1 on: October 27, 2014, 11:44:09 pm »
Grid height can be mentioned in % but it's not well supported if it's immediate parent is document body. Please refer the API

http://paramquery.com/pro/api#option-height

bsolteam

  • Pro Deluxe
  • Full Member
  • *
  • Posts: 107
    • View Profile
Re: Grid Height dynamic change
« Reply #2 on: October 28, 2014, 11:56:13 am »
Hi,

I know these thing i dont want to set fixed values in object such as height:100 or height:'100%' because it remain same for devices. Based on device window size i want to change grid size (height) dynamically so that grid fit for device.

In portrait view i am getting same desktop device height so grid is fitting half size of device height

bsolteam

  • Pro Deluxe
  • Full Member
  • *
  • Posts: 107
    • View Profile
Re: Grid Height dynamic change
« Reply #3 on: October 28, 2014, 05:37:58 pm »
s
« Last Edit: October 29, 2014, 12:57:36 pm by bsolteam »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Grid Height dynamic change
« Reply #4 on: October 28, 2014, 05:44:48 pm »
Anything beyond mentioned in API is not supported as far as height is concerned.