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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

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.



I tried many combinations in the past including "datepickeredit" but I could not find the right one. However, you guys, used enum n old EJ() Grid which I find much better than string because I can type anything in the string and enum has predefined values that I can easily select from Intellisense without making this kind of errors.

Reference EJ1 -