inovua / reactdatagrid

Empower Your Data with the best React Data Grid there is
https://reactdatagrid.io
Other
3.45k stars 57 forks source link

Running setColumnsSizesAuto with virtualization does not size columsn not in view #404

Open itorras13 opened 6 months ago

itorras13 commented 6 months ago

What you did: When virtualization is turned on and there are rows exceeding the width. Running setColumnsSizesAuto does not correctly size columns not in view

What happened: Just collapses the end columns to the smallest width

Reproduction repository: https://codesandbox.io/p/sandbox/reactdatagrid-autosize-issue-nnckwz Clikc autosize button and see how columns at the end get collapsed

Problem description: All columns, even not in view should be sized correctly

Suggested solution: