Radio Buttons in NSTableView
Radio Buttons in NSTableView
- Subject: Radio Buttons in NSTableView
- From: Hendrik Holtmann <email@hidden>
- Date: Fri, 15 Jun 2007 15:25:20 -0700
Hi everyone,
I got an NSTableView that is populated by an NSArrayController.
I want the first column to be displayed as a radio button and only one
item should be selectable in this column (real radio button behavior).
So I changed the class of the first column to NSButtonCell and its
type to NSRadioButton. However, I can now still select multiple items
in the first column and so multiple radio buttons are checked. Is
there an easy way to achieve true Radio-Button behavior in a column in
a NSTableView (I tried embedding the NSButtonCell in an NSMatrix but
that did not work). Thx for your help in advance!
Best,
Hendrik
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden