the help file brings the following code, but it does not work if I generate the files in vbhtml, someone has help pages generated in vbhtml?
public void Row_Rendered() {
// ew_VarPrint(RowAttrs, Trademark);
// Change the row color in List page
if (ew_SameStr(Trademark.ViewValue, "BMW"))
RowAttrs["style"] = "color: red; background-color: #ccffcc";
// Change the cell color
if (ew_SameInt(Cyl.CurrentValue, 4)) {
Cyl.CellAttrs["style"] = "background-color: #ffcccc";
} else if (ew_SameInt(Cyl.CurrentValue, 6)) {
Cyl.CellAttrs["style"] = "background-color: #ffcc99";
} else if (ew_SameInt(Cyl.CurrentValue, 8)) {
Cyl.CellAttrs["style"] = "background-color: #ffccff";
}
// Change text style
if (ew_SameStr(Category.CurrentValue, "SPORTS"))
Category.ViewAttrs["style"] = "color: #00cc00; font-weight: bold; background-color: #ffff99";
}