Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid: grouping by a Date field

    Hello, I've tried to group a ListGrid by a Date field (which is formatted as dd-MM-yyyy by a custom CellFormatter) but something gone wrong. Each row had its own group (all groups had the same name, a non-formatted date representation - Thy May 20 2010 00:00:00 GMT-0300).

    Am I doing something wrong? I could just turn the field to a String but the sort wouldn't work well with the dd-MM-yyyy pattern.

    Thanks,
    elconiglio

    #2
    Hey have u tried grouping by using field.setDateFormatter() to apply pattern instead of custom cellFormatter.

    Comment

    Working...
    X