Create rows and column dynamically


#1

i want to create dynamic rows and columns
after every three column row should created
values are get from json
object - array


#2

any update on this
i am also strugling to genrate dynamic row and with two col

i found one great turtorial http://blog.ionic.io/layout-the-cool-way-using-the-ionic-2-grid-component/


#3

This is all documented very clearly. If you give columns width attributes, they will wrap appropriately.


#4

Hai, i want to set col-6 attribute dynamically (Because i am getting this attribute col-* from API response) to this ion-column element, how can i do this?

<ion-row>
	<ion-column>
		Some Content 
	</ion-column>
</ion-row>

After setting it should be like this o/p:

<ion-row>
	<ion-column col-6>
		Some Content 
	</ion-column>
</ion-row>