nick-keller / react-datasheet-grid

An Airtable-like / Excel-like component to create beautiful spreadsheets.
MIT License
1.81k stars 170 forks source link

Feat/resize columns #350

Open mir4a opened 6 months ago

mir4a commented 6 months ago

This PR adds possibility to resize columns with with two callbacks: for tracking resize (dragging) and resize end useful for storing which columns were resized. Stored values then can be passed as a property so that after reloading the page the table will restore touched column widths.

What is done:

If you would like to test it out right away, you can try my fork published on npm: npm i @mir4a/react-datasheet-grid@4.12.0-alpha.15 --save-exact.

netlify[bot] commented 6 months ago

Deploy Preview for react-datasheet-grid canceled.

Name Link
Latest commit ede1a0517f405910c706e0977221ec0b8f6fd77e
Latest deploy log https://app.netlify.com/sites/react-datasheet-grid/deploys/664a0f293e64900008787685
tdonkena commented 3 months ago

@nick-keller Can this get reviewed and merged please, this has been open for 2 months