Skip to Content
0
Mar 18, 2014 at 11:13 AM

Calendar control modification

298 Views

Hello experts,

We are creating a custom fiori application in which we need to modify the calendar control.

our requirement is as shown below;

What we have achieved is :

1. background color using

calendar.toggleDatesType([ "2013/04/12" ], sap.me.CalendarEventType.Type07, true);

2. meaning of colors using CALENDAR LEGEND.

What we need now :

1. Custom labels below date

2. On click of date open an Action sheet to select few actions. for e.g Regularize the attendance

I have also found that using extend() method we can extend existing controls.

I have also gone through the below links

Documentation/AdvancedTopics/OnTheFlyControlDefinition โ€“ SAPUI5 Wiki (TIP CORE User Interface)

Documentation/AdvancedTopics/OnTheFlyControlExample โ€“ SAPUI5 Wiki (TIP CORE User Interface)

Documentation/AdvancedTopics/CompositeControl โ€“ SAPUI5 Wiki (TIP CORE User Interface)

Still struggling to extend a calendar control. please help.

Regards,

KK

Attachments

test.PNG (22.1 kB)