Re: Using keyboard to toggle checkboxes in NSTableView cell
Re: Using keyboard to toggle checkboxes in NSTableView cell
- Subject: Re: Using keyboard to toggle checkboxes in NSTableView cell
- From: Corbin Dunn <email@hidden>
- Date: Fri, 18 Nov 2005 15:10:36 -0800
I have a NSTableView with a checkbox column as the first column in
my data.
I want to be able to press space bar while a row is selected to
have the checkbox be toggled.
Any suggestions?
Override keyDown:, look for a space, and access the selected row(s)
and flip the states.
-corbin
_______________________________________________
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