on 06-10-2014 3:28 PM
Hi All,
I have requirement that i have set the date of the month in the diff color. I will get the values from the backend based on the that i have to set the color in the calender.
For ex : if (value ==1){
set the date color to green
}
else if(value == 2){
set the date color to Red
}
else{
set the date color to Blue
Can anyone help me how to achieve this functionality????
hi mahesh ,
http://scn.sap.com/thread/3537733
you had already raised the same question in this thread.
please maintain one single thread.
Regards
Govardan Raj S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Mahesh,
You can use DateNavigatorMarking API to set color in calender.
This view element allows you to highlight entries of a specific category within the DateNavigator UI element. You can also define a tooltip for the highlighted entry.
Description of the View Element Properties:
category
Specifies the path to the context attribute which stores the category of the highlighting. The property allows you to specify how the aforementioned date is highlighted and displayed in color. The highlighting in color is used to delimit individual categories. Multiple highlighted dates can share a category. You should bind the property to a context attribute of the multiple context node, because otherwise the system uses the same category for each highlighting.
The category property can take the following values and is represented by the list type WDDateMarkingCategory:
four | Color of category four. *) |
one | Color of category one. *) |
three | Color of category three. *) |
two | Color of category two. * |
*) The color for each highlighting depends on the respective design theme used – the documentation refers to the SAP Standard Design 2002.
Check this tutorial:
Thanks & Regrads,
Partralekha
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
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.