Change editing date format of DataGridDateColumn

Hi,


in my datagrid I have a DataGridDateColumn with format dd.MM.yyyy. This column is also editable and triggering the CurrentCellEndEdit event.

While editing the date format in the cell changes to MM/dd/yyyy. How can I set the format while editing to dd.MM.yyyy as well?


Thanks in advance,

Toby

.


3 Replies

TP Tamilarasan Paranthaman Syncfusion Team January 24, 2024 02:09 PM UTC

Hi Tobias Horn,

Could you please clarify whether you intend to retrieve the date column cell value with the format set in the grid column directly from the `DataGridCurrentCellEndEditEventArgs.NewValue` within the `CurrentCellEndEdit` event, or if you prefer it in the UI edit view? This clarification will assist us in better understanding your requirement and enable us to provide you with a prompt solution.


Regards,

Tamilarasan



TH Tobias Horn replied to Tamilarasan Paranthaman January 30, 2024 08:15 PM UTC

Sorry, I totally forgot to answer!


I meant in the UI edit view. 



TP Tamilarasan Paranthaman Syncfusion Team January 31, 2024 12:44 PM UTC

Tobias Horn,


Thank you for the update. Could you please provide the version of .NET (e.g., .NET 8 or .NET 7) and the DataGrid version you are using? Additionally, we kindly request that you share an issue reference image of the edit UI. Moreover, could you specify the platform where you are encountering this issue (e.g., Windows, Android, Mac, or iOS)? This additional information will greatly assist us in analyzing the described issue and providing you with an appropriate solution as soon as possible.


Regards,

Tamilarasan


Loader.
Up arrow icon