Releases: rsuite/rsuite-table
Releases · rsuite/rsuite-table
5.19.0
5.18.3
What's Changed
- ci: upgrade all versions that are dependent on the workflow to the latest version by @simonguo in #490
- fix(Table): fix
flexGrow
is invalid when the table is hidden and then shown by @simonguo in #489 - docs(example): fix sort error when dragging rows by @simonguo in #491
Full Changelog: 5.18.2...5.18.3
5.18.2
5.18.1
5.18.0
Features
The children
prop of the Table supports function types. When using TypeScript, it is recommended to pass a render prop to the Table component. This ensures that the correct generic type parameter is automatically propagated to the Cell component.
const products: Product[] = [{ name: 'Pineapple' }];
<Table<Product, string> ref={table} data={products}>
{({ Column, HeaderCell, Cell }) => (
<>
<Column>
<HeaderCell>Name</HeaderCell>
{/* No need for passing explicit type parameter to Cell */}
<Cell>{row => row.name}</Cell>
</Column>
</>
)}
</Table>;
What's Changed
New Contributors
Full Changelog: 5.17.0...5.18.0
5.17.0
5.16.0
5.15.0
What's Changed
- Issue 3412:- added a list of arrowKeys, added a check for only required events in … by @yourvishal007 in #468
- feat: add a script to prepend the use client directive by @simonguo in #466
- build(deps): bump typescript to 5.2.2 by @simonguo in #469
New Contributors
- @yourvishal007 made their first contribution in #468
Full Changelog: 5.14.0...5.15.0
5.14.0
5.13.0
What's Changed
- fix(Table): fix table scroll width not excluding scroll bar width by @simonguo in #461
- fix(TreeTable): fix incorrect scrolling position of tree nodes after collapse by @simonguo in #462
- feat(Table): support table scrolling through keyboard arrow keys by @simonguo in #463
Full Changelog: 5.12.0...5.13.0