views:

64

answers:

1

I have multiple column and row data , i want to place it in table view also i want make it scrollable vertically as well as horizontally . how to do this ? please help...

A: 

The UITableView is not meant to be used in a multi column way.

What you can do is to create custom UITableViewCells that look like two or more columns. But that will be just a workaround without the possibility to scroll horizontally.

The other possibility is to implement a UIScrollView. Add a View to the UIScrollView that is wider than the actuall iPhone screen. In this case the user will be able to scroll horizontally. In this case you will in deed not be able to use the predefined API-functionality of the UITableView and you have to render your table on your own.

Shingoo
Shingoo thanks for answer
Abhijeet Barge
Would be great if you could accept the answer (by clicking on the checkmark) if it was the info you were looking for ;)
Shingoo