DHTMLX Docs & Samples Explorer

Customizing Color-marking

Default styles can be accessed and updated as:

  • dp.style.updated - style string for updated status;
  • dp.style.inserted- style string for inserted status;
  • dp.style.deleted - style string for deleted status;
  • dp.style.invalid - style string for invalid status;
  • dp.style.invalid_cell - style assigned to cell validation of which failed;
  • dp.style.error - style string for error status;
  • dp.style.clear - default style of row.

More complex coloring rules can be defined through onRowMark event.