Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
148162 | Oct 8,2019 04:56 PM UTC | Mar 10,2020 04:50 AM UTC | Blazor | 7 |
![]() |
Tags: Grid |
@using Syncfusion.EJ2.Blazor.Calendars
<EjsGrid TValue="Order" ID="Grid" AllowSorting="true" AllowFiltering="true" AllowPaging="true" Toolbar="@(new List<string>() { "Add", "Delete", "Update", "Cancel" })">
<GridColumns>
. . . . . .
<GridColumn Field=@nameof(Order.OrderDate) HeaderText="Date" EditType="EditType.DateTimePickerEdit" Edit="@DateParams" Width="150"></GridColumn>
</GridColumns>
</EjsGrid>
@code{
public static List<Order> Orders { get; set; }
public object DateParams = new
{
@@params = new DateTimePickerModel { Max = DateTime.Now, Min = DateTime.Now.AddDays(-100) }
};
} |
public object DateParams = new
{
@@params = new DateTimePickerModel { Max = DateTime.Now, Min = DateTime.Now.AddDays(-100),StrictMode = true }
}; |
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.