• 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: Tableview woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tableview woes


  • Subject: Re: Tableview woes
  • From: tony cate <email@hidden>
  • Date: Wed, 17 Dec 2003 20:33:13 -0600

On Dec 17, 2003, at 8:04 PM, Laurent Daudelin wrote:

on 17/12/03 18:22, tony cate at email@hidden wrote:

In iTunes, you can double-click a table entry to edit it. When you hit
enter, the edit is accepted, the list sorts, and the edited entry is
selected.

I want to do that. When I try to programmatically deselect the selected
row or select a new row, I get an assertion failure.

I did a Mamasam search on assertion failure and found a note about
getting into editing via selectRow... and setting the event to nil. I
did try that, but I still get assertion failures. This seems like it
should be pretty simple, so I'm sure I've just overlooked something.
Hints would be greatly appreciated.

It might help if you could post the exact assertion failure you're
getting...

-Laurent.


Good point. Here it is:

*** Assertion failure in -[NSTableView editColumn:row:withEvent:select:], TableView.subproj/NSTableView.m:2754
2003-12-17 20:31:16.640 MyApplication[3314] Exception raised during posting of notification. Ignored. exception: Invalid parameter not satisfying: _lastSelectedRow == row

Tony
_______________________________________________
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: Tableview woes
      • From: email@hidden
    • Re: Tableview woes
      • From: Laurent Daudelin <email@hidden>
References: 
 >Re: Tableview woes (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: Tableview woes
  • Next by Date: Re: why do this not work??
  • Previous by thread: Re: Tableview woes
  • Next by thread: Re: Tableview woes
  • Index(es):
    • Date
    • Thread