I am making my own pop-up window on a Scheduler widget with two resources. Both of my resources can be seen on a DropDownList. However, at least for the "Events" resources, I need to see the respective color because each event will have his own color.
This is the part of my Scheduler that helped me to create my custom Edit pop-up window:
edit: function(e) {
var UtilizadorID = e.container.find("#selectColaborador").kendoDropDownList({
optionLabel:"Selecionar Colaborador",
dataTextField:"Nome",
dataValueField:"ID"
}).data("kendoDropDownList");
UtilizadorID.dataSource.data(e.sender.resources[0].dataSource.data());
var TipoEstado = e.container.find("#selectEstado").kendoDropDownList({
optionLabel:"Selecionar Estado",
dataTextField:"descr",
dataValueField:"TipoDeEstadoID",
dataColorField: "Cor"
}).data("kendoDropDownList");
TipoEstado.dataSource.data(e.sender.resources[1].dataSource.data());
},
My pop-up window shows up with both of resources, however, I don't see the colors of my events on my dropdownlist.
Any ideas?