Spread.Sheets Documentation > Sample Code > Sample Code for Cells > Changing the Active Cell Backcolor |
You can change the color of the active cell.
This example changes the color of the active cell.
JavaScript |
Copy Code
|
---|---|
window.onload = function(){ sheet.getCell(0, 0).backColor("pink"); sheet.bind(GC.Spread.Sheets.Events.LeaveCell, function (event, infos) { sheet.bind(GC.Spread.Sheets.Events.EnterCell, function (event, infos) { |