Re: Tableview woes
Re: Tableview woes
- Subject: Re: Tableview woes
- From: Laurent Daudelin <email@hidden>
- Date: Wed, 17 Dec 2003 22:50:35 -0500
on 17/12/03 21:33, tony cate at email@hidden wrote:
>
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
Hmmm, not sure about that one. Maybe somebody else will have an idea?
-Laurent.
--
============================================================================
Laurent Daudelin AIM/iChat: LaurentDaudelin <
http://nemesys.dyndns.org>
Logiciels Nemesys Software
mailto:email@hidden
Fortrash /for'trash/ n.: Hackerism for the FORTRAN (FORmula TRANslator)
language, referring to its primitive design, gross and irregular syntax,
limited control constructs, and slippery, exception-filled semantics.
_______________________________________________
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.