cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to set focus date to specific date in sap ui unified Calendar

Former Member
0 Kudos

Hi all,

I am unable to set focus to my calendar to a particular date,

this is my code

default focus date is current date and I used displayDate, focusDate, focus individually to so give me some suggetions.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Karthik,

focusDate is method of Calender and there is no property associated with it.

So remove the property and add like

new Calender({}).focusDate(dp);

and it is better to create date like

var dp = "2014/03/26"; 

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sudheer,

Thanks for your reply.