This commit is contained in:
2023-10-23 17:09:58 +06:00
parent f3618efc7e
commit 8d37cbc5d9
3 changed files with 15 additions and 13 deletions

View File

@ -1518,18 +1518,20 @@ class SRec
}
}
//Updating data in an HTML table
let jj=0;
tr.style.textDecoration="underline";
for(let j=0;j<node.data[i].row.length;j++)
{
if(this.masCL[j].getAttribute("visible")!="0")
{
while(tr.childNodes[j+2].childNodes[0]) {
tr.childNodes[j + 2].removeChild(tr.childNodes[j + 2].childNodes[0]);
while(tr.childNodes[jj+2].childNodes[0]) {
tr.childNodes[jj+2].removeChild(tr.childNodes[jj + 2].childNodes[0]);
}
let textNode;
if(node.data[i].row[j]!=null) textNode=document.createTextNode(node.data[i].row[j]);
else textNode=document.createTextNode("");
tr.childNodes[j+2].appendChild(textNode);
tr.childNodes[jj+2].appendChild(textNode);
jj++;
}
}
}