var colorBgB = document.getElementById(
this.getCellTemplate(
this.getCurrentColumn(),
this.getCurrentRow()).getId()).title;
document.getElementById(
this.getCellTemplate(
this.getCurrentColumn(),
this.getCurrentRow()).getId()).style.backgroundColor = colorBgB;
this.setCurrentColumn(c);
this.setCurrentRow(r);
this.setSelectedColumns([c]);
this.setSelectedRows([r]);
for (i = 0; i < selCells.length; i = i + 2)
{
var cTmp = selCells[i];
var rTmp = selCells[i + 1];
if (this.getCellSelected(cTmp, rTmp))
{
this.setCellSelected(false, cTmp, rTmp);
var colorBg = document.getElementById(obj.getCellTemplate(cTmp, rTmp).getId()).title;
document.getElementById(obj.getCellTemplate(cTmp, rTmp).getId()).style.backgroundColor = colorBg;
}
}
selCells = new Array();
var colorBg = document.getElementById(obj.getCellTemplate(c, r).getId()).style.backgroundColor;
document.getElementById(obj.getCellTemplate(c, r).getId()).title = colorBg;
document.getElementById(obj.getCellTemplate(c, r).getId()).style.backgroundColor = '#122334';
This topic is archived.