I have a datetime
column in the format of YYYY-MM-DD HH:mm:ss.SSS
. Is there a way to display only the time in the format of HH:mm:ss.SSS
without showing the complete datetime?
I have attempted the following code, but it does not seem to affect the format:
{name: 'somedate', field: 'event_date', cellFilter: 'date:\'HH:MM:SS.SSS\''}
UPDATE
This is how the grid is set up:
$scope.gridOptions = {
columnDefs: [{name: 'somedata', field: 'event_date'}],
data: [ {event_date: "2016-03-10 10:10:11.123"}]
}