on 2019 Feb 06 11:22 AM
Hello Experts and rohit.chokhani
I am facing the issue with default time for Date column in SmartTable. please find the below screenshot for same.
rohit.chokhani I found similar issue with you too, could you please share the solution/cod snippet so that I can try and check if the formatter works or not.
thank you in advance.
Request clarification before answering.
Hi Kiran,
You can use a formatter for the field.
Use the below code and you should be able to solve your problem -
<Text text="{path:'viewData>CreatedOn', type:'sap.ui.model.odata.type.DateTime', formatOptions: { pattern: 'MM-dd-yyyy'},constraints: {displayFormat: 'Date'}}"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.