-2

I am a new iphone developer and I have a problem when I develop my app. The situation is that I need to display a report with headers both on the vertical and horizontal axes, just like an excel spreadsheet does. Can anyone can help me to figure out a good solution? Better with some code. Any comments are appreciated.

joran
  • 169,992
  • 32
  • 429
  • 468
user418751
  • 1,937
  • 2
  • 18
  • 21

2 Answers2

0

If the report is pretty much static and doesn't need to be editable/selectable then you could build a 2x2 grid of UILabel's which contain both your headings and report data and drop it all inside a containing UIView and then put that containing UIView inside a UIScrollView with vertical and horizontal scrolling set.

gamozzii
  • 3,911
  • 1
  • 30
  • 34
0

Here's an iOS grid component. It's API is very similar to UITableView

http://cocoacontrols.com/platforms/ios/controls/dtgridview

bryanmac
  • 38,941
  • 11
  • 91
  • 99