10

Not able to call getDateValue() from DateTimePicke...

 1 year ago
source link: https://community.sap.com/t5/enterprise-resource-planning-q-a/not-able-to-call-getdatevalue-from-datetimepicker-class-in-sapui5/qaq-p/13615595
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Not able to call getDateValue() from DateTimePicker Class in SAPUI5

I have a View file that uses the DateTimePicker Class.

avisheksharmacoder_1-1708595810346.png

In controller, I am not able to call the getDateValue() method to get the date time from the view when it is selected. It is showing undefined. 

avisheksharmacoder_0-1708595720501.png

but in the parent class DatePicker, the getDateValue() method is available. So why can't I directly use this method in the DateTimePicker class since DateTimePicker already extends the DatePicker class. Or do I have to call the super constructor for this in the controller code? (Can you show how). 

(I am getting this error in SAPUI5 v1.60 which comes along with SAP MII v15.3)

</div


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK