Bug in grid checkbox colum edit and odata v4 adapter.

Hey,

With the following grid the client never sends an update  for the approved column.
The same thing seems to occur if im editing in dialog mode with a form to.

Can you advise? I have attached an example project.

Using Odata 8



<SfGrid TValue="Template" AllowSorting="true" Toolbar="@(new List<string>() { "Add", "Edit", "Delete", "Update" })" >

    <SfDataManager Url="odata/Templates" Adaptor="Adaptors.ODataV4Adaptor"></SfDataManager>

    <GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true"></GridEditSettings>

    <GridColumns>

        <GridColumn Field="Id" Visible="false"></GridColumn>

        <GridColumn Field="Name" HeaderText="Name"></GridColumn>

        <GridColumn Field="Approved" DisplayAsCheckBox="true" EditType="EditType.BooleanEdit" HeaderText="Approved">

            <FilterTemplate></FilterTemplate>

        </GridColumn>

    </GridColumns>

</SfGrid>




Attachment: SyncfusionExamples_bcaf5a7b.zip

2 Replies

TR Tom Rebbettes November 27, 2021 02:18 AM UTC

To be clear, i can change any rows checkbox colum from false to true perfectly fine, but once it is set to true, you cannot disable it. You can see this yourself by adding a new record in the example.



VN Vignesh Natarajan Syncfusion Team November 29, 2021 04:25 AM UTC

Hi Tom,  

Greetings from Syncfusion support.  

We have already discussed this topic in our public forums. So kindly refer the below forum for your reference 


Also for your convenience we have modified the attached sample to resolve the reported issue. Please find the modified sample from below  


Please get back to us if you have further queries. 

Regards, 
Vignesh Natarajan 


Loader.
Up arrow icon