Reputation: 9437
How do I use the angular date filter with Kendo template?
Here is a sample code that does not work (Kendo Release 2014.2.716). http://dojo.telerik.com/@Xavier/OVIfE
Upvotes: 2
Views: 1517
Reputation: 9437
Got the answer from Kendo Support. Use dataItem.
{ field: 'birthDate', title: 'Birth Day', type: 'date', template:"{{ dataItem.birthDate | date:'shortDate' }}" }
Upvotes: 3