Re: Customizing the "Not Applicable" marker in a tableview
Re: Customizing the "Not Applicable" marker in a tableview
- Subject: Re: Customizing the "Not Applicable" marker in a tableview
- From: Mark Dalrymple <email@hidden>
- Date: Mon, 11 Jul 2005 16:40:31 -0400
Greetings,
This is follow-up for the archives about customizing the "Not
Applicable" marker in a tableview (particularly for columns with
numeric formatters, where you can't enter a string into IB's marker
fields for the binding)
Add this in a convenient place:
+ (void) initialize
{
[NSTextFieldCell setDefaultPlaceholder: @"hello"
forMarker: NSNotApplicableMarker
withBinding: NSValueBinding];
} // initialize
(or in my case, I use @"" to not show anything in columns with non-
applicable bindings.)
Thanks to Scott Anguish and Ron Lue-Sang for the solution.
++Mark Dalrymple, email@hidden
http://borkware.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