On Wed, Aug 5, 2009 at 08:21, A.Yerenkow <yeren...@uct.ua> wrote:

> Seems, qx.ui.table.cellrenderer.Date ignores my
> qx.locale.Manager.getInstance().setLocale("other-than-en")
> And display always info in English language.
> Designed so, or bug?
>

qx.ui.table.cellrenderer.Date formats the date according to the date format
you specify in the property "dateFormat". When you call
dateCellRenderer.setDateFormat(format), the format you pass must be an
instance of qx.util.format.DateFormat which should format however you
require. qx.util.format.DateFormat's constructor determines the locale (or
you can pass it as the second parameter to the constructor).

If you don't set a date format, the string value of the date from the model
will be used directly.

Derrell
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to