Re: TableColumn dataCell actions
Re: TableColumn dataCell actions
- Subject: Re: TableColumn dataCell actions
- From: Angela Brett <email@hidden>
- Date: Mon, 11 Nov 2002 22:36:45 +1300
Hi,
Thanks to the people who responded - this is a lot simpler now
although unfortunately it still doesn't work. I am now using
- (id)tableView:(NSTableView *)aTableView
objectValueForTableColumn:(NSTableColumn *)column row:(int)row
- (void)tableView:(NSTableView *)tableView setObjectValue:(id)object
forTableColumn:(NSTableColumn *)tableColumn row:(int)row
The checkboxes display okay without any of the stuff I was doing
before, but the latter method is not called. The tableColumn is
marked as editable in IB and I also set it to be editable in the code
just to be sure, but the - (BOOL)tableView:(NSTableView *)aTableView
shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex
is not called either. I've checked that my object is both the
datasource and the delegate for the tableView. When I click on the
checkbox nothing happens at all as far as I can tell. In fact, not
even - (void)tableView:(NSTableView*)tableView
didClickTableColumn:(NSTableColumn *)tableColumn is called.
What am I missing?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.