Results 1 to 2 of 2

Thread: ColumnConfig setDateTimeFormat

  1. #1
    Ext User
    Join Date
    Feb 2009
    Posts
    10
    Vote Rating
    0
      0  

    Default 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
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •