Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by hanan on Nov 26, 2008 06:19
open dhtmlx forum
to get the background colour of a cell

How can i get the background color of a cell in a dhtmlx grid
Answer posted by Support on Nov 26, 2008 08:23
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;