1. #1
    Ext User
    Join Date
    Feb 2009
    Posts
    10
    Vote Rating
    0
    M1ke is on a distinguished road

      0  

    Default ColumnConfig setDateTimeFormat

    ColumnConfig setDateTimeFormat


    Hi.

    I am using a Grid which contains a column that has its DateTimeFormat set to DateTimeFormat.getMediumDateTimeFormat(). The input for this column is a java.util.Date that has been obtained from a GWT RPC service.
    The problem I'm experiencing is that the Grid fails to render using this ColumnConfig. When using DateTimeFormat.getMediumDateFormat() instead of DateTimeFormat.getMediumDateTimeFormat(), it does render. It seems it fails every time I want to display the time in the column too...
    Am I using this incorrectly, has something gone wrong during (de)serializing of the Date object, or is there some kind of bug in the Grid? I've done some searching, but came up empty handed.

    TIA,
    M1ke.

  2. #2
    Ext User
    Join Date
    Feb 2009
    Posts
    10
    Vote Rating
    0
    M1ke is on a distinguished road

      0  

    Default


    Somewhere in my code a java.sql.Date slipped in where a java.util.Date was intended :S