enumIs there a way to define other Colors?Regards Manfred|
$(function () {
$("#Spreadsheet").ejSpreadsheet({
sheets: [{
dataSource: data
}],
loadComplete: "loadComplete",
});
});
function loadComplete(args) {
if (!this.isImport) {
// Define Hexa code for font color & background color in "color" and bgColor property
this.XLCFormat.setCFRule({ "action": "textcontains", "inputs": ["U"], "color": "#FFFFFF", "bgColor": "#1b3ad0", "range": "A1:A11" });
this.XLCFormat.setCFRule({ "action": "textcontains", "inputs": ["K"], "color": "#FFFFFF", "bgColor": "#139228", "range": "A1:A11" });
this.XLCFormat.setCFRule({ "action": "textcontains", "inputs": ["F"], "color": "#FFFFFF", "bgColor": "#bd1313", "range": "A1:A11" });
}
} |