nick-keller / react-datasheet-grid

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

Feat/resize columns #350

Open mir4a opened 7 months ago

mir4a commented 7 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 7 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 4 months ago

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