wimac
#1
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
Olga
#2
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
wimac
#3
i realised my mistake, i missed “()” from the end of my getBgColor command.
Thanks