Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
148468 | Oct 21,2019 12:48 PM UTC | Oct 23,2019 05:43 AM UTC | Blazor | 3 |
![]() |
Tags: Grid |
<GridColumn Field=@nameof(Order.OrderDate) CustomFormat="@(new { type= "date", format= "dd/MM/yyyy" })" Type="ColumnType.Date" ...></GridColumn>
|
Format |
Formatted value |
{ type=”date”, format=”dd/MM/yyyy”} |
04/07/1996 |
{ type=”date”, format=”dd.MM.yyyy” } |
04.07.1996 |
{ type=”date”, skeleton=”short” } |
7/4/96 |
{ type=”dateTime”, format= ”dd/MM/yyyy hh:mm a” } |
04/07/1996 12:00 AM |
{ type= “dateTime”, format= “MM/dd/yyyy hh:mm:ss a” } |
07/04/1996 12:00:00 AM |
<GridColumn Field="Date" HeaderText="Date" Width="80">
<Template>
@{
WeatherForecast Value = (context as WeatherForecast);
<span>@Value.Date.ToString("dd/MM/yyyy")</span>
}
</Template>
</GridColumn>
|
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.