This is a migrated thread and some comments may be shown as answers.

Problem with sort column - content date

0 Answers 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jacek
Top achievements
Rank 1
Jacek asked on 22 Aug 2012, 09:46 AM
Hi, I writing beacouse i have problem with sort column. My column content date on format: 17-08-2012/22:03. When i sort this column i get sort example:
13-08-2012/22:03
13-07-2012/22:03
17-06-2012/22:03
17-06-2012/22:03
21-08-2012/22:03

Or
21-08-2012/22:03
17-06-2012/22:03
17-06-2012/22:03
13-08-2012/22:03
13-07-2012/22:03

I try add to column format: "{0:dd-MMMM-yyyy/h:s}" but this is not working.

        field: "data",
        title: "<?php echo $translate->_("Date");?>",
        sortable: true,
        filterable: false,
        width: 120,
        format: "{0:dd-MMMM-yyyy/h:s}"


Please help me:/

Ps. sorry for my poor english.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Jacek
Top achievements
Rank 1
Share this question
or