Grid - ion-col


#1

As i remember well ion-grid has possibility to create 12 columns.
How can I create for example in one row but programmatically?
Information about what size I can keep in element obj. But the problem is that how I can use it later.


#2

Sorry - not getting that…???

You want to create a row programatically…


#3

Here is example:
You have “items” obj which stores information what size each element in gird should be.
|xx||xx||xxxx||xx||xx|
|xxxx||xxxx||xxxx|
|xxxx||xxxx||xx||xx| etc

So I wouldn’t say that it’s manipulating with row but with col - size of that col in ion-grid :).


#4

Hi,

Coz I’m a nice guy I’ve added a repo which shows this…

Enter numbers totalling 12 seperated by commas…

Tada!!!