A column with DisplayAsCheckBox=true does not display a checkbox in edit mode

Hello,

I use DisplayAsCheckBox=true for my boolean columns but when I try to edit those values, the checkbox is replaced with a textbox displayinh true/false.

Regards,

Brice.

1 Reply

RS Renjith Singh Rajendran Syncfusion Team May 14, 2020 09:53 AM UTC

Hi Brice, 

Greetings from Syncfusion support. 

We suggest you to set the EditType as BooleanEdit for the corresponding Boolean column to overcome the reported behavior. Please refer the below documentation for more details regarding this. 

Please use the code below, 

 
<GridColumn Field=@nameof(Order.Verified) DisplayAsCheckBox="true" EditType="EditType.BooleanEdit" Width="150"></GridColumn> 


Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran 


Loader.
Up arrow icon