Check documentation for the latest version of dhtmlxSuite setColumnColor DHTMLX Docs

setColumnColor

colors the background of columns

void setColumnColor(string clr);
clrstringa comma-delimited list of colors

Example

//set colors for the first 3 columns
mygrid.setColumnColor("white,#d5f1ff,#d5f1ff");

Back to top