cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Kendo Scheduler event coloring

Szennaik
7-Bedrock

Kendo Scheduler event coloring

Hi guys.

I have a question or ask about kendo scheduler event coloring.

I created a mashup for daily action plan. I would like to coloring the events depends on event status (i.e. "Done", "Deleted", "Open", etc.)

As I saw, on site description the scheduler widget contains 13 exact named columns or field. I use 22 columns in datashape. I tried to configure the widget through the schema model and resources, but it is not working.

I do not no what is the good way to solution. I tried to create template or script, but I am not an expert,I could not solve. 

Here is the configuration:

 

{
"footer": false,
"views": [
{"type":"day", "selected": true, "allDaySlot": false},
"week",
"month"
],
"schema": {
    "model": {
                "id": "Id",
                  "fields": {
                  "taskId": { "from": "ID", "type": "number" },
                  "title":{ "from":"Statusz", "type":"string"}
                      }
                 }
              },
"resources": [ {
          "field": "title",
          "dataSource": [
                  { "text": "Open", "Statusz": "Open", "color": "#0000FF" },
                  { "text": "Closed", "Statusz": "Closed", "color": "#00FF00" }
                          ]

       }]
}

Need anything else for it?

I followed the descriptions on Telerik site, but i could not solve the problem . If somebody have idea for solution, please answer. 

Thanks in advance.

 

 

0 REPLIES 0
Top Tags