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: getting Z.color undefined error when attempting to set group color

getting Z.color undefined error when attempting to set group color 12 years 9 months ago #411

  • melissa
  • melissa's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
When I add the color object to the JSON handed to the calendar, I get the JS error \"Z.color is undefined\".

\"name\": \"Trainer Times\",
\"groupId\": 1,
\"color\":{\"color\":\"brick\", \"css\":\"brickTemplate\"},
\"events\":[]


I get the same error when I try the following code, too.

\"name\": \"Trainer Times\",
\"groupId\": 1,
\"color\":SSPlotter.colors[5],
\"events\":[]


Previously, I\'d been able to get around this problem by setting the push order in the SSPlotter.colors array to color my calendar groups but now that won\'t work anymore. I need to be able to set them individually when defining the groups.

Please Log in to join the conversation.

Last edit: by melissa.

Re: getting Z.color undefined error when attempting to set group color 12 years 9 months ago #412

  • ragskarnam
  • ragskarnam's Avatar
  • Visitor
  • Visitor
Melissa,
what version are you using? I use the premium and it works just fine.

Please Log in to join the conversation.

Re: getting Z.color undefined error when attempting to set group color 12 years 9 months ago #413

  • melissa
  • melissa's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
I\'m using the Basic version B2.0-22G. Is this a premium only feature?

Please Log in to join the conversation.

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

LATEST IN FORUM

  • No posts to display.

ABOUT US