Custom eXcell doesn't work on row Insert

Using the example, below, which I got off of this forum (thanks) works perfectly when the grid is first displayed or if a row is edited. But it does not work when a row is inserted. If I set breakpoints on each line of the code below, the debugger actually shows that the function is fired three times on an insert. The first time through, it appears to work fine, getting to and executing the line that says: this.cell.style.color = “red”;

Then, it hits this function two more times. Both of those times, it executes just the first two lines:
this.base = eXcell_edn;
this.base(cell);
and it’s done. this.setValue = function(val) does not fire.

I also tried commenting out my dp.sendData() right after the row insert. In that case, it only hits the function one extra time but with the same result: it only executes the first two lines. That’s the last command in my calling function, so I’m not sure what is firing it or if it even matters. I just know that at some point, it appears to set the color correctly and then it is “lost.”

I’m using the latest professional version. Any hints or workarounds?

function eXcell_edncl(cell) {
this.base = eXcell_edn;
this.base(cell);
this.setValue = function(val) {
if (!val || val.toString()._dhx_trim() == “”) {
val = “0.00”;
}
if (val == “0.00”) {
this.cell.style.color = “black”;
}
else {
this.cell.style.color = “red”}
this.cell.innerHTML = this.grid._aplNF(val, this.cell._cellIndex);

}

}
eXcell_edncl.prototype = new eXcell_edn;

Hi,

Unfortunately the issue can’t be reconstructed locally.
If issue still occurs for you - please provide a complete demo.