Reputation: 35
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
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
Reputation: 26390
If I understood you correctly I think you need this
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
Upvotes: 3