Re: setting table view rows and columns?
Re: setting table view rows and columns?
- Subject: Re: setting table view rows and columns?
- From: "Patrick J. Collins" <email@hidden>
- Date: Thu, 12 Mar 2015 23:26:03 -0700 (PDT)
> Normally you just set up the column titles in IB. The titles are actually the tableColumn.headerCell.stringValue property, displayed in a NSTableHeaderView. If you are setting these programmatically, you should probably do tat as part of the table controller's setup, not every time the dataSource method is called (which is at least once per row).
I cannot figure out how to do this in IB.. I went into the View
Controller Scene, and found my table view, selected nested table cell
view for a column.. Double clicked on the cell, and typed the header
text... but when I build my app, it's blank.
I am able to populate my table with data, I just can't seem to get a
header to show up. Maybe I should just use labels above the table??
Patrick J. Collins
http://collinatorstudios.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden