Categories | Question details Back To List | ||
Get background colour of cell Is there a method or property of a cell that will tell me what the current background colour of a particular cell is? Answer posted by Support on Dec 16, 2008 01:44 The background-color of cell may be defined in multiple ways , so it is not simple to detect the current color. Can be done through DOM methods as var cell = grid.cells(i,j).cell; var color = window.getComputedStyle?window.getComputedStyle(cell,null)["backgroundColor"]:cell.currentStyle["backgroundColor"]; Answer posted by MHW on Dec 16, 2008 05:08 Thanks |