@nickkvasov
That's the only approach that really worked for me..
thanks
By the way, this is a regression issue i think since i had this working before, and with 3.0RC2 and 3.0, at least, it was broken..
skinning events separately in schedule
Hey!
U can use something like that.
Add your class to eventModel:
DefaultScheduleEvent evt = new DefaultScheduleEvent....
evt.setStyleClass("myclass");
and and this to css file:
.myclass,
.myclass div {
background-color: red;
border-color: red
color: blue;
}
U can use something like that.
Add your class to eventModel:
DefaultScheduleEvent evt = new DefaultScheduleEvent....
evt.setStyleClass("myclass");
and and this to css file:
.myclass,
.myclass div {
background-color: red;
border-color: red
color: blue;
}
-
- Posts: 1
- Joined: 05 Jul 2012, 04:04
Because its html code like this:
<div class="fc-event fc-event-skin yourClass..." >
<div class="fc-event-inner fc-event-skin">
<span class="fc-event-title">XXXXXX</span>
</div>
</div>
All you have to do is override css style like following:
.fc-event-skin.youClass, .yourClass .fc-event-skin{
background-color: red;
border-color: red;
color: white;
}
it works for me, I hope this reply helps.
<div class="fc-event fc-event-skin yourClass..." >
<div class="fc-event-inner fc-event-skin">
<span class="fc-event-title">XXXXXX</span>
</div>
</div>
All you have to do is override css style like following:
.fc-event-skin.youClass, .yourClass .fc-event-skin{
background-color: red;
border-color: red;
color: white;
}
it works for me, I hope this reply helps.