openfun / cunningham

🎨 The Open FUN Design System
https://openfun.github.io/cunningham/
MIT License
23 stars 2 forks source link

✨(react) add sorting on custom cells + add warning when onSortModelChange is missing #297

Closed NathanVss closed 8 months ago

NathanVss commented 8 months ago

Previously sorting on custom cells was not possible because they were considered as "display cells" by React-Table, which is made for actions columns, which aren't sortable.

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: 9aad328fd4699ac6125094521c9168a10818d1ae

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------------- | ----- | | @openfun/cunningham-react | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR