We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set max date for date column in grid

Thread ID:





142671 Feb 14,2019 12:20 PM UTC Feb 15,2019 04:11 AM UTC ASP.NET Core - EJ 2 2
Tags: DataGrid
Jonathan Dodd
Asked On February 14, 2019 12:20 PM UTC


I have a grid with a column displaying a date.  The editType is datePickerEdit for this column.  I would like to set the max date of the datePickerEdit to today's date.  Please can you tell me if this is possible?

Kind Regards,


Jonathan Dodd
Replied On February 14, 2019 04:18 PM UTC

Figured it out after a pointer from a colleague and a look through the help docs.

<e-grid-column field="myDateField" headerText="Test Date" width="150" editType="datepickeredit" edit="@{new { @params = new { max = DateTime.Today } }}" ></e-grid-column>


Thavasianand Sankaranarayanan [Syncfusion]
Replied On February 15, 2019 04:11 AM UTC

Hi Jonathan, 
Greetings from Syncfusion. 
We are happy that the problem has been solved. 
Please get back to us if you need any further assistance.  
Thavasianand S.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon