• 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
NSTableView editing error with TAB key ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView editing error with TAB key ...


  • Subject: NSTableView editing error with TAB key ...
  • From: mabo68 <email@hidden>
  • Date: Fri, 13 Oct 2006 08:46:44 +0200

Hi

I use in IB a table view with 2 columns. Each column is connected to an array controller via the binding.
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 !!!


Is that a bug ?
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


References: 
 >NSTableView editing problem... (From: mabo68 <email@hidden>)

  • Prev by Date: Two different fonts for the two lines which are displayed in the same row and column
  • Next by Date: Re: Printing
  • Previous by thread: NSTableView editing problem...
  • Next by thread: setValue:forUndefinedKey:
  • Index(es):
    • Date
    • Thread