Hi Alex, as I could see qx.ui.table.cellrenderer.Date has no event listener for changing location like qx.ui.form.DateField
So I guess we should implement something like this:
var clazz = this;
if (qx.core.Environment.get("qx.dynlocale"))
{
this.__localeListenerId =
qx.locale.Manager.getInstance().addListener("changeLocale",
function() {
this.setDateFormat(clazz.getDefaultDateFormatter());
}, this);
}
Or is it implemented before?
Regards Sak
SAKsystems
Inh. Mustafa Sak
Varrelmannstr. 16
30453 Hannover
Tel. +49 511 / 165 969 40
Fax +49 511 / 165 969 49
Mobil +49 163 / 312 6144
http://www.saksys.de
[email protected]
STEUER-Nr. 2613817458
-----Ursprüngliche Nachricht-----
Von: Mustafa Sak [mailto:[email protected]]
Gesendet: Donnerstag, 28. Juli 2011 11:40
An: 'qooxdoo Development'
Betreff: Re: [qooxdoo-devel] Enhancement: cellrenderer.Date
Thanks Alex for your kindly comment. Here is the enhancement bug report:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=5457
Regards Sak
SAKsystems
Inh. Mustafa Sak
Varrelmannstr. 16
30453 Hannover
Tel. +49 511 / 165 969 40
Fax +49 511 / 165 969 49
Mobil +49 163 / 312 6144
http://www.saksys.de
[email protected]
STEUER-Nr. 2613817458
-----Ursprüngliche Nachricht-----
Von: Alexander Steitz [mailto:[email protected]]
Gesendet: Donnerstag, 28. Juli 2011 10:22
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] Enhancement: cellrenderer.Date
Hi Mustafa,
nice one! If one is showing dates in his application is always comes to the
question how it should be formatted. So a date cellrenderer which is capable
of formatting is a good enhancement.
Regards,
Alex
On Wednesday 27 July 2011 19:00:12 Mustafa Sak wrote:
> often I am dumping my table data directly from the database via rpc. And
> usually I want to see timestamps and dates in localized date format by
> qooxdoo. So I just enhanced a little the date cellrenderer. If the list
> like it, I would share it at as enhancement bug.
> See a playground demo: http://tinyurl.com/3t6y8rr
>
> Incoming date is formatted yyyy-MM-dd, but shown in localized medium date
> format.
> Regards Sak
----------------------------------------------------------------------------
--
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
<<attachment: Mustafa Sak ([email protected]).vcf>>
------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
