Re: NSTableView Problems
Re: NSTableView Problems
- Subject: Re: NSTableView Problems
- From: Alexander Spohr <email@hidden>
- Date: Mon, 24 Nov 2008 11:16:53 +0100
Am 24.11.2008 um 01:21 schrieb Barry Fawthrop:
Thank You
my datasource methods are as follows:
-(int) numberOfRowsInTableView:(NsTableView *)table {
return [schedule count];
}
-(id)talbeview: (NSTableView *)table objectValueForTableColumn:
(NSTableColumn *)col: row:(int)row {
return [schedule objectAtIndex: row];
}
try something like
return [[schedule objectAtIndex:row] objectAtIndex:[[table
tableColumns] indexOfColumn:col]];
instead.
atze
_______________________________________________
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