I have put some fields + an UITableVIew (named myTableView) within a scrollview (named parentScrollView). Now My TableView contains multiple columns so since it’s a scrollview inside a scrollview I tried this in ViewDidLoad:
[[self parentScrollView] setContentSize:CGSizeMake(320, 1000)];
self.myTableView.contentSize=CGSizeMake(640,300);
Only parentScrollView scrolls vertically not myTableView horizontally, why ?
Another approach to make a spreadsheet is to insert a horizontal tableview for each row in the main vertical tableview.
The idea to create a horizontal tableview is to make a normal vertical tableview and then do some graphics translation to rotate 90 degree, so that it can become horizontal. Similar to PULSE iphone application. (Do check that !!!)
If you want, i can provide some code, to do the same.
Update : link for tutorial
http://www.raywenderlich.com/4680/how-to-make-an-interface-with-horizontal-tables-like-the-pulse-news-app-part-1