Re: [dabo-users] Grid column with dates - EditorClass?

Author: Paul McNett

Posted: 2013-01-15 at 17:01:46

On 1/15/13 11:23 AM, Sibylle Koczian wrote:

> in a dGrid I'd like to edit a column with DataType date, using the same shortcuts as

> in a dDateTextBox. How can I do that? Does the column get the right DataType from the

> bizobj? Do I have to set the ClassEditor explicitly, if yes, to what value?

>

> If I just put the dGrid into my form and set DataSource and DataField values, I can

> edit the column, but the shortcuts don't work.

I created a sample for you:

https://gist.github.com/4542964

Unfortunately, running it highlighted that it doesn't work (because dGrid converts

the Value to string instead of leaving it at date or datetime). Fortunately, I

created a fix for it. If you are on the working branch at github, you can 'git pull'

and test; otherwise you can wait until 0.9.7.

Thank you for pointing out the problem!

Paul

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/50F5DFDA.7060807@ulmcnett.com

©2013 Paul McNett