Skip to content

Commit

Permalink
Resize layout after expanding Tabulator row (#3010)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Dec 13, 2021
1 parent 90b272f commit 51feaa2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion panel/models/tabulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,9 @@ export class DataTabulatorView extends PanelHTMLBoxView {
const bg = style.backgroundColor
const neg_margin = "-" + rowEl.style.paddingLeft
const row_view = div({style: "background-color: " + bg +"; margin-left:" + neg_margin})
row.getElement().appendChild(row_view);
(view as any)._parent = this
view.renderTo(row_view)
row.getElement().appendChild(row_view)
}

_expand_render(cell: any): string {
Expand Down

0 comments on commit 51feaa2

Please sign in to comment.