Skip to content

Commit 640e24a

Browse files
Moved the places to appendChild of cell and row to valid the rendermine as the is the connected property of the cell requires is connected on chrome.
1 parent 5a7d3cf commit 640e24a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/variableinspector.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,9 @@ export class VariableInspectorPanel
386386
row.appendChild(cell);
387387

388388
cell = document.createElement('jp-data-grid-cell') as DataGridCell;
389+
cell.gridColumn = '7';
390+
row.appendChild(cell);
391+
this._table.appendChild(row);
389392
const rendermime = this._source?.rendermime;
390393
if (item.isWidget && rendermime) {
391394
const model = new OutputAreaModel({ trusted: true });
@@ -398,9 +401,6 @@ export class VariableInspectorPanel
398401
'</br>'
399402
);
400403
}
401-
cell.gridColumn = '7';
402-
row.appendChild(cell);
403-
this._table.appendChild(row);
404404
}
405405
}
406406

0 commit comments

Comments
 (0)