[MacRuby-devel] get and set a checkbox in tableview

Pavlos Vinieratos pvinis at gmail.com
Fri Apr 29 10:30:46 PDT 2011


Hello. I am writing a little app, and I have a table view with a checkbox
cell and a text cell in each row.

I implemented the data source, and in tableView:objectValueForColumn:row:,
in the checkbox row I just return NSOnState or NSOffState, but when I run
the app, the checkboxes don't get checked where they should.
Also, when one is checked, how can I uncheck it through
tableView:setObjectValueForColumn:row?

thank you


-- 
Pavlos Vinieratos



-- 
Pavlos Vinieratos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110429/0920c968/attachment.html>


More information about the MacRuby-devel mailing list