Hi Syncfusion team,
I am having issues with the datagrid check box column. I unable to load the rows with the checkbox as checked, it's invisible on the load. Below I have attached the code to load the grid and attached screen shot with the numbers in them.
<syncfusion:SfDataGrid x:Name="datagrid" AutoGenerateColumns="False" AutoGenerateRelations="True" ItemsSource="{Binding Rules}">
<syncfusion:SfDataGrid.Columns>
<syncfusion:GridTextColumn MappingName="Name" />
<syncfusion:GridTextColumn MappingName="RuleType" />
<syncfusion:GridCheckBoxColumn HeaderText="Activate" MappingName="Activate" AllowEditing="True"/>
</syncfusion:SfDataGrid.Columns>
</syncfusion:SfDataGrid>
- First I am able to load the grid with the rows inside it and by default all the checkboxes are false/unchecked boxes are shown on the grid(1 image for reference).
- After checking a row true the data is updated in the backend and then the checkbox is checked in the display also it's little grey.
- I move away from the page and then go back to the page which loads all the data and now the checkbox will be set to true i.e, checked in the UI but after loading data the checkbox is invisible(3rd image for reference).
Solution here I am looking at is how to show the checked box in the grid when grid loads.
Regards,
Arjun
Attachment:
Projectinformation_page_grid_issue_d3cc2fce.zip