cancel
Showing results for 
Search instead for 
Did you mean: 

sapui5 planning calendar special dates but interval colors doesnt change

DoğukanAYAZ
Newcomer
0 Kudos

Hello everyone,

My question about SAPUI5 Planning Calendar. I have special dates entityset. 

 

<PlanningCalendar id="PC1" startDate="{path: 'oModel>/Tarih'}" minDate="{path: 'oModel>/MinTarih'}" rows="{path: 'oModel>/PlanHeader'}" appointmentSelect="onPressPlan" viewKey="Week" viewChange="onViewChange" showEmptyIntervalHeaders="false" intervalSelect="onAddPlan" startDateChange="onStartDateChange" rowHeaderClick="onRowHeaderClick" specialDates="{path: 'oModel>/Holidays', templateShareable: false}" appointmentsVisualization="Filled" stickyHeader="true" showWeekNumbers="true" showDayNamesLine="true" width="100%">
 
This code block is my planning calendar.
 
And this one is my planning calendar specialDates aggregation.
                    <specialDates>
                        <unified:DateTypeRange startDate="{oModel>Date}" type="NonWorking">
                        </unified:DateTypeRange>
                    </specialDates>
 
So problem is i catch the special dates but in the screen planning calendar interval color is doesn't change.
DoukanAYAZ_1-1714129676265.png

23 April is a special date. And type is nonworking. But 27 and 28 April is weekend and the cells are grey.

I want all special dates cells to be greyed out like weekends.

 

Can you experts help me ?

 

Accepted Solutions (0)

Answers (0)