We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid column dateTime format

Thread ID:

Created:

Updated:

Platform:

Replies:

141204 Nov 29,2018 02:32 PM UTC Nov 30,2018 04:34 AM UTC Angular - EJ 2 1
loading
Tags: Grid
Domantas
Asked On November 29, 2018 02:32 PM UTC

Hello,

I'm trying to apply DateTime formatting, but I'm not getting expected output as it shown in documentation.

Expected output: 


Actual output: 


I did reproduce this in one of your demos:




Madhu Sudhanan P [Syncfusion]
Replied On November 30, 2018 04:34 AM UTC

Hi Domantas,  

Thanks for contacting Syncfusion support. 

The format property should be assigned with these objects as follows. 


{ 
        field: 'OrderDate', 
        headerText: 'Order Date', 
        format: { type: 'dateTime', format: 'dd/MM/yyyy hh:mm a' }, 
    } 



Please check the below modified sample. 

  
Regards,  
Madhu Sudhanan P 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;