NSTableView editing problem...
NSTableView editing problem...
- Subject: NSTableView editing problem...
- From: mabo68 <email@hidden>
- Date: Wed, 11 Oct 2006 20:10:38 +0200
Hi
I use in IB a table view with 2 columns. Each column is connected to
an array controller.
Under the table view, i have 2 text fields. One per column and each
are connected to the array controller like the columns of table view.
So, if I use my program, I press the plus button. A new Record will
be inserted in the table view and I can set a text in the text fields.
I can set a text directly in the table view cell too. No problem at
this time.
I can insert more than one record by pressing a few times on the add
button. The table view will get the new records. I can set a text on
each text fields.
But ! If I set the text in the table view dirrectly and I use the TAB
key to acces to the next cell, AND I go on the first row and after
the second, .... I will get an exeption like this from the table view
when I save the content :
2006-10-11 16:27:26.564 ...[5146] *** Assertion failure in -
[NSTextFieldCell _objectValue:forString:errorDescription:],
AppKit.subproj/NSCell.m:1298
2006-10-11 16:27:26.565 ...[5146] Exception raised during posting of
notification. Ignored. exception: Invalid parameter not satisfying:
aString != nil
The table view as the sensation that not all cell are filled. But all
cell contain a value.
If I do the same, but I access the cell only per mouse click, it will
work perfectly !!!
Can some body help me ?
Thanks
Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden