Re: [Newbie] Multiple NSTableViews
Re: [Newbie] Multiple NSTableViews
- Subject: Re: [Newbie] Multiple NSTableViews
- From: Stéphane Sudre <email@hidden>
- Date: Sat, 25 Sep 2004 19:29:25 +0200
On samedi, septembre 25, 2004, at 07:05 PM, J Tichenor wrote:
There must be something obvious that I am missing:
I have two tableViews that one controller is deal with. Loading data
programatically, through dataSource protocol methods. In each of the
the numberOfRowsInTableView: and objectValueForTableColumn: methods, I
have a switch that checks the tag of the calling tableView. Depending
on the tag, different results should be returned.
The problem is that the methods are returning the proper values for
the first table, but nothing for the second. NSLogging tells me the
numberOfRowsInTableView is called once upon AwakeFromNib, when neither
of my dataSources have value to display in the tables yet.
Later, when a user browser to an item that has displayable tableData,
the first table is populated, the methods both log activity, but then
the second table is never checked or populated, and no log activity is
posted for the second switch.
Is there something that I missing, in terms of multiple tables and
telling the controller to continue working through population of the
tables?
Can forward code if it will help:
[myFirstTableView reloadData];
[mySecondTableView reloadData];
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden