Skip to Content
1

Smart Table Date field format as MM/DD/YYYY

Jan 05, 2017 at 03:10 PM

439

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srinivasan S May 16, 2017 at 08:53 AM
-3

Hi Siva,

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

Regards,

Srinivasan

Share
10 |10000 characters needed characters left characters exceeded