Skip to Content

How to navigate to sepecific date in a sap.ui.unified.Calendar

Hello Colleagues,

We are trying to implement Clear functionality in sap.ui.unified.Calendar.

On click of Clear Button should clear the selectedDate in sap.ui.unified.Calendar and close the responsivepopover.

We are unable to set or navigate to the current date after clear functionality.

So would you please suggest us how to navigate to current date after clear is done.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 16 at 05:19 PM

    use the method 'focusDate' ...this navigates the calendar to specified date

    Sample code: https://embed.plnkr.co/8B6T25zhYmLCDgXQq9ph/

    Add comment
    10|10000 characters needed characters exceeded