setColumnColor

colors the background of columns

void setColumnColor(string clr);

Parameters

clrstringa comma-delimited list of colors

Example

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

Back to top