May 05, 2016, 3:55 PM
[CLOSED] Color specific hours of day in CalendarPanel WeekView
Hi,
I have a simple CalendarPanel with only a WeekView:
JW
I have a simple CalendarPanel with only a WeekView:
<ext:CalendarPanel ID="calendarPnl1" runat="server" Height="800" ShowWeekView="true" ShowDayView="false" ShowMonthView="false" WeekText="Settimana" MonthText="Mese" DayText="Giorno" ActiveIndex="1" >
<EventStore runat="server" />
<GroupStore runat="server">
<Groups>
<ext:Group CalendarId="1" Title="Aperto" />
<ext:Group CalendarId="2" Title="Pianificato" />
<ext:Group CalendarId="3" Title="Rendicontato o fatturato" />
<ext:Group CalendarId="4" Title="Inoltrato" />
<ext:Group CalendarId="5" Title="Annullato" />
</Groups>
</GroupStore>
<Listeners>
<DateChange Handler="Ext.net.Mask.show({ msg : 'Caricamento accessi..' }); #{DirectMethods}.calendarPnl_WeekChange(viewStart, 1)" />
<EventMove Handler="#{DirectMethods}.calendarPnl_EventMove(record.data)" />
<EventClick Handler="#{hf_CurrentAgenda}.setValue(1); calendarPnl_EventClick(record.id, 1);" />
<DayClick Handler="#{hf_CurrentAgenda}.setValue(1); calendarPnl_DayClick(dt.toLocaleString(), 1);" />
<EventOver Handler="#{ToolTip1}.show();" />
</Listeners>
<WeekView runat="server" ShowTime="false" >
<CustomConfig>
<ext:ConfigItem Name="startDay" Encode="false" Mode="Raw" Value="1" />
</CustomConfig>
</WeekView>
</ext:CalendarPanel>
I would like to set a background color to some hours of specific days. For example I would like to color the cell from 07:00am to 08:00am of Monday 05/06. Is it possible? How can I do it? Thanks in advance.JW