Menu
Welcome, Guest
Username: Password: Secret Key Remember me
Welcome to the Developer forum!
Get all your questions answered here. Learn to integrate calendar in your application.
  • Page:
  • 1

TOPIC: Event color

Event color 8 months 1 week ago #733

  • Dovber
  • Dovber's Avatar Topic Author
  • Visitor
  • Visitor
I don't find how to set an event color, please help.

Thanks

Please Log in to join the conversation.

Event color 8 months 1 week ago #735

  • ragskarnam
  • ragskarnam's Avatar
  • Visitor
  • Visitor

Dovber wrote: I don't find how to set an event color, please help.

Thanks


You could specify the color of the group as shown below. If you don't specify, the system chooses a color.
{
                                    groupId:Math.floor((Math.random()*10000000)),
                                    groupName:name,
                                    name:name,
                                    events: [event1, event2....] ,
                                    color:{color:'teal', css:'tealTemplatex'},
                                }
in CSS you have
div.tealTemplate {
  background-color: #668CB3;
  border-color: #29527A;
}
You can also specify className attribute for an event.
className:'tealTemplate'
You could use css to apply style to a particular event.

Hope this helps

Please Log in to join the conversation.

Event color 8 months 1 week ago #737

  • Davber
  • Davber's Avatar
  • Visitor
  • Visitor
It works on a group but i need to change the color for specific events and it doesn't work.
Please show me some working code.

We just bought the ultimate version, you might test this fonctionnality there because it really doesn't seem to work.

Please Log in to join the conversation.

  • Page:
  • 1
Time to create page: 0.148 seconds
Powered by Kunena Forum

ABOUT US