Re: Problem on reload data source of a table view
Re: Problem on reload data source of a table view
- Subject: Re: Problem on reload data source of a table view
- From: JArod Wen <email@hidden>
- Date: Tue, 15 Jul 2008 21:37:31 -0400
Finally the problem is solved. There is a missing line to set the
identifier of each column so -tableView:objectValueForTableColumn:row:
always return nil since it cannot retrieve the correct key of column.
Thanks for all of your helps, and wish this helpful to any other guys.
On Jul 15, 2008, at 1:45 PM, j o a r wrote:
On Jul 15, 2008, at 10:36 AM, JArod Wen wrote:
The dataSource of TableView is connected to tableSource. There is a
TableController containing two IBOutlets to both tableSource and
dataTable. Then dataTable.dataSource is connected to tableSource in
IB. Anything I lost here?
You might want to verify, at runtime, that this connection is set.
You can do this either in the debugger, or just using a standard
debug log statement.
Btw.: Have you set up any bindings for this table view?
j o a r
---------------
JArod Wen
_______________________________________________
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