Parth Bhatt
Parth Bhatt

Reputation: 19469

How to dynamically add column headers to a tableView which has large number of columns in iPhone?

In my iPhone app, I have a horizontally scrolling tableView. It has 30 columns. The tableView is similar to gridView in ASP.Net.

How can I add the column headers in TableView header's section?

Upvotes: 0

Views: 728

Answers (1)

Max
Max

Reputation: 16719

Use tableView:viewForHeaderInSection: and tableView:heightForHeaderInSection: of in the table view delegate.

Upvotes: 1

Related Questions