Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)

Change Display format in Table and other objects e.g. textObject

Hello everybody,


I have a table with a column that shows a date. The format is JJJJMMDD. How do I change it to DD.MM.JJJJ?


How can I remove the zeroes in the columns "Position" and "Lieferant"?


Thank you for your support.


Daniel

pdf
(274 KB)

Hi Daniel


The best way to format data in UI5 applications is to use the UI5 formatters. We have a lot of premade formatters, and you can also create your own if you like.


For date, NAD 3.1 SP01 - Using SAP format for the user:



For the leading zeroes, use the formatter: string:RemoveLeadingZeroes


Regards

Ole Andre 

Hi Ole,


I tried using both leading zero formatter and date formatter. For some reason - it doesn't seem to be working. Is there any pre-req that I am missing? I am defining the column item list as Text for both.


Thanks,

Mukul

Login or Signup to post a comment