8000 Resize layout after expanding Tabulator row (#3010) · holoviz/panel@51feaa2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 51feaa2

Browse files
authored
Resize layout after expanding Tabulator row (#3010)
1 parent 90b272f commit 51feaa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

panel/models/tabulator.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,9 @@ export class DataTabulatorView extends PanelHTMLBoxView {
460460
const bg = style.backgroundColor
461461
const neg_margin = "-" + rowEl.style.paddingLeft
462462
const row_view = div({style: "background-color: " + bg +"; margin-left:" + neg_margin})
463+
row.getElement().appendChild(row_view);
464+
(view as any)._parent = this
463465
view.renderTo(row_view)
464-
row.getElement().appendChild(row_view)
465466
}
466467

467468
_expand_render(cell: any): string {

0 commit comments

Comments
 (0)
0