Grid column format is not applied when the column is bound to a nullable DateOnly field (Core) #8117
Labels
Bug
C: Grid
FP: Planned
Sync status with associated Feedback Item
S: Wrappers (ASP.NET Core)
SEV: Medium
Milestone
Bug report
The column format applied through the .Format() option is ignored, if the column is bound to a nullable DateOnly field.
Reproduction of the problem
public DateOnly? PaymentDate { get; set; }
columns.Bound(p => p.PaymentDate).Title("Date").Format("{0:MM/dd/yyyy}").Width(160);
Current behavior
The specified format is ignored, e.g., the Grid shows 2025-01-21, instead of 01/21/2025
Expected/desired behavior
The specified column format is applied.
Environment
The text was updated successfully, but these errors were encountered: