Skip to Content

Smart Table Date field format as MM/DD/YYYY

Hi,

I am creating a smart table in controller js and mapping the Entityset dynamically.

My Entity has various properties including date fields. Using annotations, I added sap-display-format="Date" to display the date without Time . But it displays the date in "Jan 1, 2015" format. How can i add a formatter to display the date field in MM/DD/YYYY format in the UI.

Thanks,

Siva

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 16, 2017 at 08:53 AM
    -4

    Hi Siva,

    You can make use of formatter functionality for your requirement. Take a look at SAPUI5 Explored

    Regards,

    Srinivasan

    Add comment
    10|10000 characters needed characters exceeded