checkbox

I use a treegrid.

I have 2 problems with the checkbox

the following properties are all boolean :

OnCreate
OnUpdate
OnDelete


Problem 1 : Checkbox not correct on screen

I use the property : [showCheckbox] = 'true'.



as shown in the screenshot I see the checkbox and the value. I don't want to see the value.

If I use the other property :displayAsCheckBox

I see  the value not the checkbox :


Problem 2 : Incorrect binding.


this is a part of my code :



here in the example I click on "On Update" and the check box in the "On Create" column is activated. ??



1 Reply

PS Pon Selva Jeganathan Syncfusion Team June 24, 2021 04:48 PM UTC

Hi michel,   
 
Thanks for contacting Syncfusion forum. 

Query1:Checkbox not correct on screen && Incorrect binding.

 
We have checked your query by preparing sample and we are able to reproduce both problems at our end when we bind string values for checkbox column in TreeGrid dataSource. So, we suggest you to use the Boolean value for the check box column to resolve the problem. 
 
Please refer to the below screenshot: 
 
 
Please refer to the sample, 
 
After following the above reference, still faced issue please share us the following details.  
 
  1. Kindly share us complete tree grid code example.
  2. Share the details of your product version. 
  3. Kindly share the Edit mode details.
  4. Share the video demo of the issue.
  5. If possible, reproduce the reported issue in the shared sample Or share us issue reproducing sample.  
 
The provided information will be helpful to provide you response as early as possible.   
 
Regards,   
Pon selva   
 


Loader.
Up arrow icon