In tableView:objectValueForColumn:row:, return ruby true or false should be enough to make the checkbox checked or unchecked. Be sure to check the tableColumn.identifier so that you're actually dealing with the checkbox column.
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
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel