12-23-2022, 12:22 PM
"AlertColumn.prototype.getCustomAlert = function (showData, color, arrowPosition, customIcon) {
var text = '<div style="" display:inline-block;text-decoration:inherit;vertical-align:top;margin-top:3px;"">' + showData + '</div>';
var alertImage = '<div style=""width:25px; height:17px;margin-left:5px;margin-right:12px; display:inline-block;""><span class=""'+customIcon+'"" style=""color:' + color + ';font-size:10px;""></span></div>';
if (this.m_alertposition == ""left""){
return alertImage + text;
} else {
return text + alertImage;
}
};"
var text = '<div style="" display:inline-block;text-decoration:inherit;vertical-align:top;margin-top:3px;"">' + showData + '</div>';
var alertImage = '<div style=""width:25px; height:17px;margin-left:5px;margin-right:12px; display:inline-block;""><span class=""'+customIcon+'"" style=""color:' + color + ';font-size:10px;""></span></div>';
if (this.m_alertposition == ""left""){
return alertImage + text;
} else {
return text + alertImage;
}
};"