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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set max date for date column in grid

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,

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,

Jon



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>

Jon

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.  
                          
Regards, 
Thavasianand S.

CONFIRMATION

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

;