Author: Sibylle Koczian
Posted: 2013-01-15 13:23:38 Link
Hello,
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.
Thank you,
Sibylle
_______________________________________________
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/50F5ACBA.4090804@t-online.de
Author: Paul McNett
Posted: 2013-01-15 17:01:46 Link
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
Author: Sibylle Koczian
Posted: 2013-01-16 05:13:05 Link
Am 16.01.2013 00:01, schrieb Paul McNett:
> On 1/15/13 11:23 AM, Sibylle Koczian wrote:
>
> 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!
Thank you for that very quick response! I've not yet learned anything
about git, so I just copied your test application. But waiting for 0.9.7
wouldn't be a problem anyway, this isn't urgent.
And the test shows how to set the column editor, so that part of it is
cleared up.
Greetings,
Sibylle
_______________________________________________
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/50F68B41.2040201@t-online.de