Hi all.
There is a possibility of color cell based on text value in matrix view?
I have this code, which return text in cell.
But I want different color based on different text value.
[code] scheduler.templates[“matrix_cell_value”] = function(ar){ // ar = array of events for that cell or undefined
if(ar) { // there are some events
text = ‘’;
for(var i=0; i<ar.length; i++)
text += “
”+ar[i].text+"
";return text;
}
return "";
};[/code]
Thank you.