Hi Sergio,
Thanks for contacting Syncfusion support.
We have prepared a sample to perform dialog template editing with Dropdown enum values. We are attaching the sample for your convenience, please download the sample from the link below,
And also to update the value selected from dropdown to Grid, we suggest you to bind the OnActionBegin event handler of Grid and update the “Status” field value in that event handler to get the selected value from dropdown to get updated in Grid. Please refer the code below,
<GridEvents OnActionBegin="OnActionBegin" TValue="WeatherForecast"></GridEvents>
public void OnActionBegin(ActionEventArgs<WeatherForecast> Args)
{
if (Args.RequestType == Syncfusion.Blazor.Grids.Action.Save)
{
Args.Data.Status = (WeatherForecastState)Enum.Parse(typeof(WeatherForecastState), DropDownList.Value);
}
}
|
Please get back to us if you need further assistance.
Regards,
Renjith Singh Rajendran.