3.2.0

How do I highlight ONLY editable cells in the DG?

Hi-

I want to do something like:

.aw-grid-cell { background-color:#FFFFCC; border-bottom:1px solid #000000; border-right: 1px solid #000000;}

but ONLY for editable cells so that our client can distinguish them from R/O cells.

thanks!
Max
Max
June 24,
Making the cell editable does not add any special css classes, so you have to make you own and add it in all places where you make the cell editable, for example -

.aw-my-cell {background-color:red}

grid.setCellEditable(true, 1, 1);
grid.getCellTemplate(1, 1).setClass("my", "cell");
Alex (ActiveWidgets)
June 24,

This topic is archived.

See also:


Back to support forum