in lib/src/logical_row.dart [87:108]
void show({HtmlElement before}) {
if (before != null) {
// Place this element right after [before]
int loc = this.parentElement.children.indexOf(before) + 1;
print(loc);
this.parentElement.children.insert(loc, this.getElement());
} else {
// Prepend this element into the table
this.parentElement.children.insert(0, this.getElement());
//this.parentElement.append(this.getElement());
}
this.rowElement.level = this.level;
if (!this.rowElement.populated) {
this.renderFunction(this.rowElement, this);
this.rowElement.setArrow(this.generatorFns.isNotEmpty, open);
this.rowElement.populated = true;
}
if (this.open) {
// Open up children spatially after this element
this.children.forEach((child) => child.show(before: this.rowElement));
}
}