I am using Kendo UI Grid
with Angular 6
and getting data from API
where datetime is coming in Epoch format like below :
x.items[0].EffectiveDate.$date = 1550719967
i am using below html
for kendo grid column and Sort should work as well. I have gone through the this and this Link but didn't solved the issue.
If anyone have face this kind of scenario please help me to figure it out. Thanks in Advance.
<kendo-grid-column field="EffectiveDate" title="Effective Date" filter="date" format="{0:dd/MM/yyyy HH:mm:ss }" [style]="{'text-align': 'left'}" width="130">
<ng-template kendoGridCellTemplate let-dataItem>
{{ dataItem.EffectiveDate?.$date | date:'dd/MM/yyyy HH:mm:ss'}}
</ng-template> </kendo-grid-column>