Author Topic: Mobile responsive view  (Read 291 times)

VigneshVpn

  • Newbie
  • *
  • Posts: 32
    • View Profile
Mobile responsive view
« on: January 12, 2019, 03:55:33 am »
In pqgrid, when i saw my grid in mobile it shows as its maximum height. it looks very weird. but in PC browser it looks good. I think mobile responsive is missing. how to solve this. I set width as "100%" and flexhright as true. is there any change needed? plz help me?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 3943
    • View Profile
Re: Mobile responsive view
« Reply #1 on: January 17, 2019, 08:22:59 pm »
Please correct me if I'm wrong, but mobile responsive view is related to width of viewport, not to the height.

Could you share a screenshot of the issue faced by you.

VigneshVpn

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Mobile responsive view
« Reply #2 on: January 25, 2019, 02:28:00 pm »
Here i attached my screen when i tried to view in mobile my grid is look like this. The grid is shown in web as normal but in mobile view it shows as different which is look like dirty. please help me on this. how to solve this issue.?

Thanks.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 3943
    • View Profile
Re: Mobile responsive view
« Reply #3 on: January 28, 2019, 10:34:42 am »
use scrollModel: { autoFit: false }

https://paramquery.com/api#option-scrollModel

VigneshVpn

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Mobile responsive view
« Reply #4 on: January 29, 2019, 11:33:06 am »
I tried and set the autofit as false but it did not work declaring minWidth is needed? or declaring the width for grid is required? what will help to look like responsive in mobile view? plz help me. i have no ideas.