creating a table in ionic

后端 未结 9 1300
一向
一向 2021-01-31 03:27

I am in need of creating a table in Ionic. I thought of using Ionic grid but could not achieve what I wanted. How can I do this? Here is an image of something similar to what i

9条回答
  •  长情又很酷
    2021-01-31 03:57

    This should probably be a comment, however, I don't have enough reputation to comment.

    I suggest you really use the table (HTML) instead of ion-row and ion-col. Things will not look nice when one of the cell's content is too long.

    One worse case looks like this:

    | 10 | 20 | 30 | 40 |
    | 1 | 2 | 3100 | 41 |
    

    Higher fidelity example fork from @jpoveda

提交回复
热议问题