Grid format queries

CAn you share the solution please , I'm working into the aspnet Core Grid I'm using this "

format="MM/dd/yyyy tt" and is 


1 Reply

VB Vinitha Balasubramanian Syncfusion Team February 6, 2023 02:15 PM UTC

Hi Carlos,


Thank you for reaching out to Syncfusion support.


Query : Grid format queries


We understand that you're looking for help formatting the dateTime column. Our documentation already includes a solution for this, which you can find by clicking on the following link.


Documentation: https://ej2.syncfusion.com/aspnetcore/documentation/grid/columns/columns#date-formatting


We've created a sample to help you with your dateTime formatting requirement. Please look at the code and sample for reference.


<e-grid-column field="ShippedDate" headerText="Shipped Date" width="150" customFormat="@(new { type ="dateTime", format="dd/MM/yyyy hh:mm a" })" type="dateTime"></e-grid-column>


Sample :  https://www.syncfusion.com/downloads/support/directtrac/general/ze/core_grid_DateTime_Format574804726


Regards,

Vinitha Balasubramanian


Loader.
Up arrow icon