Simple way for xs-12
ddegil opened this issue · 9 comments
Is there a simple setting to always set xs to col-xs-12? It would be useful if there were an option way to turn off each column size. That way a layout could easily always stack on a phone or tablet.
Have you tried:
addResponsiveClasses: false
That disables the auto-adding of additional classes. (Must confess I haven't tried it in a while though :)
That may have some side effects that I've not thought of thought...
Nope. I did that and made a 2 column row and still get col-xs-6 on each.
Ah right, misunderstood you..Nope, can't think of an easy way to do that, except to only use the md or lg subclasses, as if there's no xs, it should auto-stack under bootstrap 3 I think.
How do I do that?
Ahh, got it! I am using a post of the data to the server. When I call the post function and have this line:
var gm = $('#IDofGM').gridmanager().data('gridmanager');
I have to pass in options I used when the page initializes! The options are not kept and reused.
Yeah, that would reset the options back to default!
Why are the options not kept and reused?
Well, You're creating a new instance of it in your code above. So you have to pass in the configuration... somehow..
I found a far better way now. I am going to revise my post in how to get the data for a postback.....