vipul vankadiya
vipul vankadiya

Reputation: 35

Setting column header text for a UITableView in iPhone

How do I make a UITableView column header text, like a C#/.NET grid?

I make only records, but I can't set the UITableView column header text. And I want proper formating in UITableView..

Upvotes: 0

Views: 4175

Answers (2)

Steven Kramer
Steven Kramer

Reputation: 8513

That's because a table view is not a .Net grid. If you want to have grid-like layout in your tableview, look at iPhone Multiple Columns in UITableView or iPhone + UITableView with multiple columns

Upvotes: 0

visakh7
visakh7

Reputation: 26390

If I understood you correctly I think you need this

- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section

Upvotes: 3

Related Questions