Required library edition:
Required library file: dhtmlxgrid.js
gets the background color of the cell set by method setBgColor.
If setBgColor wasn't called for the cell the method returns ”#FFFFFF”.
Returns: string
//colors the cell in red in 2 different ways mygrid.cells("row1",1).setBgColor('red'); mygrid.cells("row1",3).setBgColor('#ff0000'); ... mygrid.cells("row1",1).getBgColor(); // -> "red" mygrid.cells("row1",3).getBgColor(); // -> "#ff0000"
See also: setBgColor