adazzle / react-data-grid

Feature-rich and customizable data grid React component
https://adazzle.github.io/react-data-grid/
Other
7.01k stars 2.18k forks source link

Pass column in `onColumnResize` #3644

Closed amanmahajan7 closed 4 days ago

amanmahajan7 commented 4 days ago

Fixes https://github.com/adazzle/react-data-grid/issues/3331

codecov[bot] commented 4 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.89%. Comparing base (041357f) to head (093a4bf). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3644 +/- ## ========================================== - Coverage 91.31% 89.89% -1.42% ========================================== Files 48 48 Lines 3455 3455 Branches 671 663 -8 ========================================== - Hits 3155 3106 -49 - Misses 300 349 +49 ``` | [Files with missing lines](https://app.codecov.io/gh/adazzle/react-data-grid/pull/3644?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=adazzle) | Coverage Δ | | |---|---|---| | [src/DataGrid.tsx](https://app.codecov.io/gh/adazzle/react-data-grid/pull/3644?src=pr&el=tree&filepath=src%2FDataGrid.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=adazzle#diff-c3JjL0RhdGFHcmlkLnRzeA==) | `87.55% <ø> (+2.07%)` | :arrow_up: | | [src/hooks/useColumnWidths.ts](https://app.codecov.io/gh/adazzle/react-data-grid/pull/3644?src=pr&el=tree&filepath=src%2Fhooks%2FuseColumnWidths.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=adazzle#diff-c3JjL2hvb2tzL3VzZUNvbHVtbldpZHRocy50cw==) | `95.50% <100.00%> (ø)` | | ... and [10 files with indirect coverage changes](https://app.codecov.io/gh/adazzle/react-data-grid/pull/3644/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=adazzle)

🚨 Try these New Features:

nstepien commented 4 days ago

Should update the readme

amanmahajan7 commented 4 days ago

Should update the readme Gonna update docs once the PRs are merged