Skip to content

Commit a331848

Browse files
Oliver Hensbygaborbernat
authored andcommitted
πŸ› Handle column auto fit on data model change
βœ… Update datagrid-nested-hierarchies-update-ipynb-cell-5-linux snapshots Signed-off-by: Oliver Hensby <[email protected]>
1 parent 970ba1d commit a331848

File tree

5 files changed

+1
-0
lines changed

5 files changed

+1
-0
lines changed

β€Žjs/datagrid.tsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ export class DataGridView extends DOMWidgetView {
493493

494494
this.model.on('data-model-changed', () => {
495495
this.grid.dataModel = this.model.data_model;
496+
this.handleColumnAutoFit();
496497
});
497498

498499
this.model.on('change:base_row_size', () => {
3.24 KB
Loading
3.31 KB
Loading
-1.84 KB
Loading
-1.78 KB
Loading

0 commit comments

Comments
Β (0)