Skip to content

Commit

Permalink
Fix #3150: RestoreTableState must restore column widths (#3151)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Aug 11, 2022
1 parent f1e3392 commit 0d484a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/lib/datatable/DataTable.js
Expand Up @@ -306,6 +306,7 @@ export const DataTable = React.forwardRef((props, ref) => {
if (props.resizableColumns) {
columnWidthsState.current = restoredState.columnWidths;
tableWidthState.current = restoredState.tableWidth;
restoreColumnWidths();
}

if (props.reorderableColumns) {
Expand Down

0 comments on commit 0d484a4

Please sign in to comment.