to get the background colour of a cell

How can i get the background color of a cell in a dhtmlx grid

The background-color may be set in many different ways - there is no unified method to get current bg-color of cell.
If color was set through style attribute or setCellTextStyle|setRowTextStyle command - value can be retrieved by
grid.cells(i,j).cell.style.backgroundColor;