PDA

View Full Version : Change cell border color



boston-george
22 Mar 2011, 5:19 AM
Hi guys!


how can I change the color of the edge of the cell editor grid panel when afteredit event is fire?

thanks!

fay
22 Mar 2011, 6:00 AM
This should get you started:



var grid = ...
listeners: {
'afteredit': function(e)
{
var cell = grid.getView().getCell(e.row, e.column);
cell.firstChild.style.borderStyle = 'solid';
cell.firstChild.style.borderColor = 'red';
}
}
// ...

boston-george
22 Mar 2011, 6:25 AM
Thank you so much!!