Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150879 | Jan 22,2020 09:34 PM UTC | Jan 29,2020 09:34 AM UTC | ASP.NET Core - EJ 2 | 6 |
![]() |
Tags: DataGrid |
<script id="captiontemplate" type="text/x-template">
// you can customize whatever you want..
<div class="row col-md-12">
<div class="row col-md-6">
<span> ${field} - ${key} </span>
</div>
<div id="captionRow" class="row col-md-6">
${format(data)}
</div>
</div>
</script>
<script>
function format(data) {
return ej.base.Internationalization.prototype.formatDate(data.items[0].OrderDate, {format:"MM/dd/yyyy"} )
}
</script> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.