Edit Template on Grid does not update CheckBox component

After editing item on grid with dialog that contains checkbox. The OnActionBegin or OnActionComplete events args.data do not contain changed checkbox values.

Please provide a working example. Thanks


       <SfCheckBox Name="NoClassAcion" ID="NoClassAcion" Label="NoClassAcion" Checked="@(order.NoClassAcion)">

                    </SfCheckBox>


1 Reply

PS Prathap Senthil Syncfusion Team July 5, 2023 07:33 AM UTC

Hi Barry,

Based on the reported problem, we suggest using the @bind-checked property to assign the value for the "Verified" field and resolve the issue. Kindly refer to the below code snippet and the attached sample for your reference.

<SfCheckBox Name="Verified" @bind-Checked ="@(Order.Verified)">

                            </SfCheckBox>


Kindly get back to us if you have further queries.


Regards,
Prathap S


Attachment: DataGridSample_8bd54632.zip

Loader.
Up arrow icon