Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
149598 | Dec 2,2019 08:23 PM UTC | Dec 20,2019 10:22 AM UTC | Blazor | 2 |
![]() |
Tags: Grid |
<EjsGrid ID="Grid" ModelType="@Model" DataSource="@GridData" AllowPaging="true">
<GridColumns>
. . . . . . . . .
<GridColumn Field=@nameof(OrdersDetails.OrderDate) HeaderText="Order Date" Type="ColumnType.Date" Width="160">
<Template>
@{
var employee = (context as OrdersDetails);
<span>@employee.OrderDate.ToString("ddd, dd-MMM HH:mm")</span> }
</Template>
</GridColumn>
<GridColumn Field=@nameof(OrdersDetails.HireDate) HeaderText="Hire Date" Type="ColumnType.Date" Width="160">
<Template>
@{
var employee = (context as OrdersDetails);
<span>@employee.OrderDate.ToString("ddd, dd-MMM HH:mm")</span>
}
</Template>
</GridColumn>
<GridColumn Field=@nameof(OrdersDetails.ShipCountry) HeaderText="Ship Country" Width="150"></GridColumn>
</GridColumns>
</EjsGrid> |
|
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.