• 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: Formatter for NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatter for NSTableView


  • Subject: Re: Formatter for NSTableView
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 20 Oct 2004 15:24:50 -0600


On Oct 20, 2004, at 3:15 PM, Peter Karlsson wrote:

Dear list!

I have a formatter for my NSTextField that works exactly as I want. It's
done by subclassing NSFormatter. Most of the work is done in
isPartialStringValid.

Can I use the same formatter for my NSTableView? So the user can edit a row
in the table and my formatter checks every keypress?

Dear Peter! <;*)

Yes, you can attach the formatter to the data cell of a table column and the formatter will apply to that column.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
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: 
 >Formatter for NSTableView (From: "Peter Karlsson" <email@hidden>)

  • Prev by Date: text fields
  • Next by Date: Re: text fields
  • Previous by thread: Formatter for NSTableView
  • Next by thread: RE: Formatter for NSTableView
  • Index(es):
    • Date
    • Thread