Grid - ion-col

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.

Sorry - not getting that…???

You want to create a row programatically…

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 :).

Hi,

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

Enter numbers totalling 12 seperated by commas…

image

Tada!!!

1 Like