Welcome to the ASP.NET MVC feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET MVC, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Here is a sample of my code
@(Html.EJS().Grid<SigClient.Client_DX_Code>("sfDiagnosisGrid").DataSource(Model.selectedDx.ClientDXCodes)
.EditSettings(edit => edit.AllowAdding(true).NewRowPosition(Syncfusion.EJ2.Grids.NewRowPosition.Bottom).ShowConfirmDialog(false).AllowEditing(true).Mode(Syncfusion.EJ2.Grids.EditMode.Normal).AllowDeleting(true))
.Columns(col =>{
col.Field("OnsetDate").HeaderText("Onset Date").Width(75)./*EditType("datepicker").*/Format("MM/dd/yyyy").Type("date").TextAlign(Syncfusion.EJ2.Grids.TextAlign.Center).AllowEditing(true).Add();
col.Field("StatusChangeDate").HeaderText("Date of Change").Width(75).EditType("datepicker").Format("MM/dd/yyyy").Type("date").TextAlign(Syncfusion.EJ2.Grids.TextAlign.Center).Add();
col.Field("CdxcID").Visible(false).IsPrimaryKey(true).Add();
...})
...
)
I tried everything to display calendar part of DatePicker after a column gets a focus but I could not make it work.
Reference EJ1 -