DataTable State: columnwidths are not restored correctly when using scrollable and resizableColumns props #1311
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
CodeSandbox Case (Bug Reports)
https://codesandbox.io/s/datatable-scrollable-resizable-widthrestorenotworking-szcps
Current behavior
I am using a DataTable with resizableColumns, vertical scrolling and state. In this case, you recommend using flex for defining inital column widths. But when the DateTable restores the state, the values for each column width is set as "width: 123px" instead of "flex: 0 0 123px", so the column keeps it's predefined width and doesn't get it's stored width from the state.
Vue version: 3.0.11
PrimeVue version: 3.5
The text was updated successfully, but these errors were encountered: