cell getBgColor

Hi

When i try to get a bgColor of a cell using:
var currentColour = dataGrid.cells(SELECTED_ROW, 0).getBgColor;

I get the following:
function () {
return this.cell.bgColor ? this.cell.bgColor : “#FFFFFF”;
}

Is this correct? I was just expecting “#FFFFFF

Thanks
Scott
Wimac

It’s not correct. It’s better to store row’s background color in row’s attributes or userdata. Please check docs.dhtmlx.com/doku.php?id=dhtm … nal_data&s[]=attributes#attributes

i realised my mistake, i missed “()” from the end of my getBgColor command.

Thanks