简体   繁体   中英

How to I make TableView Cells spanning over multiple rows?

is there a way to create a tableview in which a cell may span over more than one row. As the two "X" here?

1 2 3 4 5
2 1 X 1 2
1 2 X 4 5

This scenario is only duplicate on first glimpse.

How should the above table be splitted into nested tables without misaligning columns? You would have to put the first row into a separate table which means that the columns to not say aligned. Imagine this:

1 222 3 4 5
2 1 X 1 2
1 2 X 4 5

You wont get both "4" cells aligned.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM