Hi,

getFullYear() is a Javascript Date() object function. I guess some of your data 
in that column 
are not dates or the model does not always contain a Date() object for that 
column...

HTH
Pierre

On 28 Mar 2012 at 5:38, matteomasina wrote:

> Hi and thank you for your answer,
> 
> but the problem seem to be another :
> 
> var renderer = new qx.ui.table.cellrenderer.Date();
> renderer.setDateFormat(new qx.util.format.DateFormat("dd-MM-yyyy"));
> tableOperazioni.getTableColumnModel().setDataCellRenderer(1, renderer); 
> 
> this is my code :
> 
> with this line : renderer.setDateFormat(new
> qx.util.format.DateFormat("dd-MM-yyyy"));
> 
> nothing is viewable and the error from firebug is this : 
> 
> dX.getFullYear is not a function
> 
> seems that it is not able to get the year from my Data.
> 
> if I comment that line everythink is good but the format is naturally the 
> 
> default format
> 
> any idea ?
> 
> Matteo
> 
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/table-filtered-and-column-renderer-tp7412806p7413380.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here 
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 




------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to