Checkbox color
Is it possibile to change tho fore color of a checkbox in a DataGridCheckBoxColumn, i've found no examples or documentation, tryied to use styles with no success
obviously RowTextColor of parent grid has no effect.. so what can I do? Libraries updated to last version
Hi Denis,
Can you please clarify if you are referring to the checkbox tick color as the "fore color"? It would be very helpful if you could provide more details about your requirement. If possible, please provide an image reference to illustrate your specific needs.
Regards,
Tamilarasan
yes.. i'll attach a screenshot of my emulator.
I'm trying to change the color of the DataGridCheckBoxColumn to white
this is the style I use for the grid
<datagrid:SfDataGrid.DefaultStyle>
<datagrid:DataGridStyle HeaderRowTextColor="White" RowBackground="#30ffffff" RowTextColor="White"/> </datagrid:SfDataGrid.DefaultStyle>
Denis,
As of now, the MAUI SfDataGrid does not provide support for customizing
the checkbox colors. However, you can achieve this customization by using the SfCheckBox control. We
recommend placing the SfCheckBox control within a DataGridTemplateColumn
for the corresponding column to customize checkbox colors. Please check
the attached sample for more information.
It's important to note that there is a known issue with `SfCheckBox.UncheckedColor`. When you deselect the checkbox by directly clicking on it, the UncheckedColor might not apply as expected. However, it applies properly when you click around the checkbox instead of directly on it. We will provide further details about this known issue by or before November 3, 2023. We appreciate your patience and understanding in the meantime.
Regards,
Tamilarasan
Attachment: Sample_64de0036.zip
Denis,
The issue with SfCheckbox, where the Unchecked Color was not being applied when
deselecting the checkbox, has been successfully resolved. We will include the
fix in our upcoming weekly release on November 7, 2023, and notify you once
NuGet is released. We appreciate your patience and understanding in the
meantime.
Denis,
Sorry for the inconvenience.
We have fixed the issue "The SfCheckbox has lost the Unchecked Color when deselecting the checkbox". At present, a custom patch has been created for version 23.1.44. We have attached the NuGet file for your convenience.
Please note that we have created this patch for version 23.1.44 specifically to resolve this issue. If you have received other patches for the same version for other products, please apply all patches in the order received.
Note: Please refer to the below link to apply the custom patch.
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache
We still need to ensure the fix with some scenarios at our end. We will include the fix in our upcoming 2023 Volume 3 SP release, which is anticipated to roll out in mid-November 2023. We appreciate your patience and understanding in the meantime.
Attachment: Syncfusion.Maui.Buttons.23.1.44_9cb27214.zip
Denis,
We are glad to announce that our Essential Studio 2023 Volume 3 Service
Pack Release v23.2.4 is rolled out and is available for download under the
following link.
We have included the fix for the reported issue "The SfCheckbox has lost the Unchecked color when deselecting the checkbox" in our latest NuGet v23.2.4, which is available for download ( https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Tamilarasan