:: Forum >>

How do I highlight ONLY editable cells in the DG?


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.

Tuesday, June 24, 2008
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)
Tuesday, June 24, 2008

This topic is archived.

Back to support forum

Forum search