Skip to content

Commit

Permalink
Fix primefaces#3150: RestoreTableState must restore column widths
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Aug 10, 2022
1 parent e69effc commit 4ef4b5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/lib/datatable/DataTable.js
Original file line number Diff line number Diff line change
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 4ef4b5f

Please sign in to comment.