how to get the field in checkbox type

Hi, On clicking on add click this is pop up which opens in dialogue grid, I wan to show this "IsManualBranchCondition" to be checkbox type of field. how can I achieve it, I tried edittype=boolean
 but it is not working


1 Reply

AG Ajith Govarthan Syncfusion Team March 25, 2020 02:17 PM UTC

Hi Rakhi, 

Greetings from Syncfusion. 

Query: I want to show this "IsManualBranchCondition" to be checkbox type of field. 
 
Based on your requirement you need to display the checkbox type edit while adding or editing the particular column.  

In this you have mentioned that you set edit type as Boolean but it is not working. Instead of defining edit type as Boolean we suggest you define the edit type as “booleanedit” to achieve your requirement.  

We have attached the sample so please refer the sample for your reference.  

Code Snippet:  
app.component.html 

             <e-column field='Verified' displayAsCheckBox="true" headerText='Verified'  editType= 'booleanedit'  width=150></e-column> 




If the above solution doesn’t meet your requirement please the below details to validate further on  your requirement. 

1. Share the complete grid code sample. 

2. Let us know you have rendered the checkbox as template or dialog template in your sample. 

Regards, 
Ajith G. 
 


Loader.
Up arrow icon