Skip to content
Snippets Groups Projects
Commit 9a88e3ff authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #8887: added type:date to start- endtime colums for proper sorting

parent e635e726
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ gridControllerMod.controller('GridController', ['$scope', 'dataService', 'uiGrid
{ field: 'starttime',
displayName: 'Start',
width: '15%',
type: 'date',
enableCellEdit: false,
enableCellEditOnFocus: false,
cellTemplate:'<div style=\'text-align:left\'>{{row.entity[col.field] | date:\'yyyy-MM-dd HH:mm\'}}</div>'
......@@ -47,6 +48,7 @@ gridControllerMod.controller('GridController', ['$scope', 'dataService', 'uiGrid
{ field: 'endtime',
displayName: 'End',
width: '15%',
type: 'date',
enableCellEdit: false,
enableCellEditOnFocus: false,
cellTemplate:'<div style=\'text-align:left\'>{{row.entity[col.field] | date:\'yyyy-MM-dd HH:mm\'}}</div>'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment