verticale text on tableview

Hi…I’m back  :wacko:

It’s possible insert vertical text on table view?

I want do something like that:

column1            column2


1-row(1)            object(1)

                         object(2)

                         object(3)


2-row(2)            object(1)

                         object(2)


                 

Yes… Take a look at the sample code and in the function which populates each row just make the rows bigger and add more content.

If you want to add content after the rows have been created, for example on a user’s button tap, you would need to do the work to expand the size of the row. This is quite easy and simply requires the extra content to be added - so you would have to make sure the background object is the right size, etc.

The harder bit is moving all the row objects within the table so that the rows below make room for the new content, but that can be done by iterating over the objects within the tableview’s internal group object (I’m afraid you’ll have to do some investigating to get the right object as it’s not in the documentation. Play around and if you can’t find the right one write back and I’ll see if I can dig it out.)

Having said that (and probably scared you off using TableView a bit) I often find it’s easier to use a ScrollView and manage all the content myself - it doesn’t have the positions controlled as much as the TableView does and you can do things like changing row size much more easily.

Yes… Take a look at the sample code and in the function which populates each row just make the rows bigger and add more content.

If you want to add content after the rows have been created, for example on a user’s button tap, you would need to do the work to expand the size of the row. This is quite easy and simply requires the extra content to be added - so you would have to make sure the background object is the right size, etc.

The harder bit is moving all the row objects within the table so that the rows below make room for the new content, but that can be done by iterating over the objects within the tableview’s internal group object (I’m afraid you’ll have to do some investigating to get the right object as it’s not in the documentation. Play around and if you can’t find the right one write back and I’ll see if I can dig it out.)

Having said that (and probably scared you off using TableView a bit) I often find it’s easier to use a ScrollView and manage all the content myself - it doesn’t have the positions controlled as much as the TableView does and you can do things like changing row size much more easily.