Custom Edit Template on Grid does not update CheckBox component
Hello,
I've created a custom edit template according to:
One of the elements is a CheckBox. However, any change to the checkbox is not updated on the grid or on the database (via OData).
Regards,
Erick
SIGN IN To post a reply.
4 Replies
1 reply marked as answer
ER
Erick
June 28, 2020 05:04 AM UTC
Hi,
I would like to have two tabs (SfTab) inside the Template in GridEditSetting. When I do this, the Save buttons stops working.
Regards,
Erick
PS
Pavithra Subramaniyam
Syncfusion Team
June 29, 2020 10:33 AM UTC
Hi Erick,
Thanks for contacting Syncfusion support.
Query#1: However, any change to the checkbox is not updated on the grid or on the database (via OData).
From your query we suspect that you might missed to set the “Name” property to the CheckBox component. If yes we suggest you to set the “Name” with field name. Please refer to the below code example for more information.
|
<div class="form-group col-md-6">
<label class="e-float-text e-label-top"> Verified</label>
<SfCheckBox Name="Verified" ID="Verified" Checked="@(Order.Verified)"> </SfCheckBox>
</div> |
If you still have the issue please share the Grid code to validate at our end.
Query#2: I would like to have two tabs (SfTab) inside the Template in GridEditSetting. When I do this, the Save buttons stops working.
We have tried to reproduce the reported issue at our end but Dialog buttons is working fine with SfTab component. We have attached a sample for your reference.
Could you please share the below details that will be helpful for us to provide a better solution as early as possible.
- Share the full Grid code
- Share the Syncfusion package version.
- Share the issue reproducible sample if possible
Regards,
Pavithra S
Marked as answer
ER
Erick
June 30, 2020 07:24 PM UTC
Thank you. I will try the proposed solutions and let you know if there is any issue.
Regards,
erick
KM
Kuralarasan Muthusamy
Syncfusion Team
July 1, 2020 02:21 PM UTC
Hi Erick,
Thanks for the update. kindly check the proposed solution at your end and please get back to us if you have any further queries.
Regards,
Kuralarasan M
SIGN IN To post a reply.