[MacRuby-devel] NSDatepicker inside NSTableView

Daniel Lopes danielvlopes at gmail.com
Tue Jun 22 07:09:30 PDT 2010


Hello, sorry to post it here, I don't think it's specific to MacRuby but I
can't get any answer in Apple Cocoa forum.

I'm doing a commercial app in MacRuby but my app need a datepicker inside a
table view. Force user to type data inside a formatter is pretty bad, so I
thought it will be much better if I place a NSDatepicker in my cell.

My tableview use bind to bring data from a core data entity and everything
works great in all columns (textfield and checkbox). But when I drop a
NSDatepickerCell inside my table column it doesn't work correctly.

The datepicker is always blank, if I already have a column in database with
date defined when I open it in Tableview the datepicker display the data but
don't let me change the value.

Someone have sugestion on what I should do?

Thanks a lot.
Daniel Lopes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100622/4fc08acf/attachment.html>


More information about the MacRuby-devel mailing list