3.2.0

Set Row Style when Cell is edited

How are you guys accomplishing this? Basically i have...
grid.setSelectionMode("single-cell");

...to enable editing.

As a result - my row highlighting (which i like very much) - doesnt work the same as my non-editable grids.

I understand from forum reading that this can be done through javascript and style changes - please enlighten me as to the most reliable method for this.

I have tried to add this in the onCellEditStarting
grid.getRowTemplate(row).setStyle("background","red");


And the following in the onCellEditEnding
grid.getRowTemplate(row).setStyle("background","none");


And a few other methods as well, none of them seem to work - there has to be a better way.

Oh - im using the extended grid - just in case that matters...

Thanks!
Ben W (ScheduleForce)
January 7,
Ben, not sure if is applicable to extended grid, but found this post .. hope it could be useful.
http://www.activewidgets.com/javascript.forum.13355.8/highlight-row-and-edit-cell.html
C++
January 7,

This topic is archived.

See also:


Back to support forum