Hi,
This issue is very difficult to reproduce but from time to time when I click table row I get an error like this:
Object { AMessage: "TypeError: el is null", AFile: "https://ftapp.com/test/dotwpwa.js", ALineNumber: 76652, AColNumber: 11, AStack: "this.SetRowIndex@https://ftapp.com/test/dotwpwa.js:76652:11\nthis.HandleDoMouseDown@https://ftapp.com/test/dotwpwa.js:76875:37\ncb@https://ftapp.com/test/dotwpwa.js:241:26\n", AError: TypeError }
AColNumber: 11
AError: TypeError: el is null
AFile: "https://ftapp.com/test/dotwpwa.js"
ALineNumber: 76652
AMessage: "TypeError: el is null"
The line 76652 in my java script is here:
this.SetRowIndex = function (Value) {
var el = null;
if (this.FRowIndex !== -1) {
el = this.GetCellElement(0,this.FRowIndex);
if (this.FElementRowSelectClassName === "") {
**el.parentElement.style.removeProperty("color");** <-- 76652 is here
el.parentElement.style.removeProperty("background-color");
} else el.parentElement.className = "";
};
this.FRowIndex = Value;
if (this.FRowIndex !== -1) {
el = this.GetCellElement(0,this.FRowIndex);
if (this.FElementRowSelectClassName === "") {
el.parentElement.style.setProperty("color",pas["WEBLib.Graphics"].ColorToHTML(this.FSelectionTextColor));
el.parentElement.style.setProperty("background-color",pas["WEBLib.Graphics"].ColorToHTML(this.FSelectionColor));
} else el.parentElement.classList.add(this.FElementRowSelectClassName);
};
};