Localization on GridDateTimeColumn Date selector

Hello,

In the DateTime selector for the GridDateTimeColumn of SfDataGrid there are 2 buttons: One that says "Today" that selects the current system date and anothet that says "Clear" that appears when the cell admits null values.


Is there a way to localize these 2 buttons? I have searched through the SfDataGrid localization resources file but none of them has a reference to these 2 buttons.


Thanks in advance.


1 Reply

DM Dhanasekar Mohanraj Syncfusion Team May 19, 2022 02:09 PM UTC

Hi David García,

Resource file does not depend on Syncfusion versions. The GridDateTimeColumn loads DateTime picker as edit element in DataGrid and the picker is available in Syncfusion.Shared.Wpf assembly. You can change DataGrid texts by using Syncfusion.SfGrid.Wpf.de.resx file and DateTime editor text with Syncfusion.Shared.Wpf.de.resx file. For more details, please refer the below user documentation.

UG Link:
https://help.syncfusion.com/wpf/datetimepicker/localization 

KB link: https://www.syncfusion.com/kb/11879/how-to-localize-the-griddatetimecolumn-button-text-in-wpf-datagrid-sfdatagrid


Screenshot for your reference,



We have prepared the sample for your requirement please check this and revert us, if you need further assistance for this.

Regards,
Dhanasekar M.


Attachment: Sample_a9e5759f.zip

Loader.
Up arrow icon