I would like to create a data grid that scrolls both vertically and horizontally and has sticky row and column headers (so you can scroll the data while still viewing the row/column headers). What is the best way of doing this?
I've considered creating my own custom DataGrid view that handles its own rendering, but this seems like a lot of work. It seems like adding multiple UITableViews to a UIScrollView might work, but I don't know how to make the first row and column sticky while scrolling the rest of them together. Or perhaps I could subclass UITableView and add columns to it.
For an example of something similar to what I'm looking for, see http://www.roambi.com/. Click on the SuperList example and play around with the view there.
I have successfully recreated the effect I'm looking for in a UIWebView with a plain HTML table, custom JavaScript, and CSS, but performance on the iPhone is terrible using this method.