Skip to content

Commit

Permalink
πŸ› Handle column auto fit on data model change
Browse files Browse the repository at this point in the history
βœ… Update datagrid-nested-hierarchies-update-ipynb-cell-5-linux snapshots

Signed-off-by: Oliver Hensby <[email protected]>
  • Loading branch information
ollyhensby committed Oct 11, 2023
1 parent c7cf3a4 commit b67699b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/datagrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ export class DataGridView extends DOMWidgetView {

this.model.on('data-model-changed', () => {
this.grid.dataModel = this.model.data_model;
this.handleColumnAutoFit();
});

this.model.on('change:base_row_size', () => {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b67699b

Please sign in to comment.