3dbounce
Posts: 0
Joined: Sat May 18, 2013 9:58 am

Responsive Grid Dimensions

Hi,

I have my grid set up with the dimensions set at: W100% H100% to fill the screen. This works great with the width, the width of the grid changes with the screen size, but it does not work at all with the height. The height stays at a fixed size and the only way to change it is by inserting a pixel dimension e.g 500px. This isn't great when your trying to get it the width and height to scale.

Any ideas?

Cheers
Grant

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Responsive Grid Dimensions

Hi - we'll test it and we'll update.

3dbounce
Posts: 0
Joined: Sat May 18, 2013 9:58 am

Responsive Grid Dimensions

Hi,

This is an example of what i want just to give you a better idea: Image

If we can sort this out i wont have to worrie about my other porblem "Center Grid to the center of the screen"

Thanks!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Responsive Grid Dimensions

Hello! On page Show event run the following code:
codeAppery("mobilegrid").css("height", '100%');
Appery("mobilegrid").parent().css("height", Appery("mobilecontainerName").css("height"));/code
mobilegrid - name of Grid component
mobilecontainerName - mobilecontainer name

Please note that you can use any name for mobilecontainer except mobilecontainer and mobilecontainer1. For example mobilecontainerName

3dbounce
Posts: 0
Joined: Sat May 18, 2013 9:58 am

Responsive Grid Dimensions

Hi,

Thank you so much for all your help, this worked perfectly!

Appery's support is awesome

Esau Romano
Posts: 0
Joined: Sun Jun 02, 2013 7:03 pm

Responsive Grid Dimensions

it is not working for mw

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Responsive Grid Dimensions

Hi - what exactly is not working? Can you point this up?

laura6372139
Posts: 0
Joined: Wed Oct 30, 2013 11:54 am

Responsive Grid Dimensions

Hello!

I load this code:
Appery("mobilegrid_23").css("height", '100%');
Appery("mobilegrid_23").parent().css("height", Appery("mobilecontainerName").css("height"));

But I get this result.

I don't know it.

My grid doesn't fit in the differents screens

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Responsive Grid Dimensions

Hi Laura,

Are you sure your container is named "mobilecontainerName"?

laura Gómez
Posts: 0
Joined: Mon Oct 14, 2013 9:51 am

Responsive Grid Dimensions

Yes!

Image Image

Return to “Issues”