There is an error in ext/dhtmlxscheduler_grid_view.js. Eclipse flagged it:
Here is the relevant code:
scheduler.grid._getStyles = function(column, items){
var cell_style = [], style = "";
for(var i=0; items[i]; i++ ){
style = items[i] + ":";
switch (items[i]){
case "text-align":
if(column.align)
cell_style.push(style+column.align);
break;
case "vertical-align":
if(column.valign)
cell_style.push(style+column.valign);
break;
case "padding-left":
if(column.paddingLeft != undefined)
cell_style.push(style+(column.paddingLeft||'0') + "px");
break;
case "padding-left":
if(column.paddingRight != undefined)
cell_style.push(style+(column.paddingRight||'0') + "px");
break;
}
}
return cell_style;
};
Notice in the above code, there are two “padding-left” cases (duplicate case), which I’m pretty sure the second should be “padding-right”.