• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: TableColumn dataCell actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: TableColumn dataCell actions
      • From: Angela Brett <email@hidden>
References: 
 >Re: TableColumn dataCell actions (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: How to stop listening on a port?
  • Next by Date: Re: "weak link" framework refs for 10.1 compatibility?
  • Previous by thread: Re: TableColumn dataCell actions
  • Next by thread: Re: TableColumn dataCell actions
  • Index(es):
    • Date
    • Thread