Skip to content

Releases: rsuite/rsuite-table

5.19.0

23 Aug 02:48
Compare
Choose a tag to compare

What's Changed

  • feat(Table): add support for maxHeight prop by @simonguo in #498
  • build(deps): bump dom-lib from 3.1.3 to 3.3.1 by @simonguo in #499

Full Changelog: 5.18.3...5.19.0

5.18.3

11 Jun 05:59
Compare
Choose a tag to compare

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

01 Dec 02:27
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.18.1...5.18.2

5.18.1

24 Nov 05:35
Compare
Choose a tag to compare

What's Changed

  • fix(Table): fix missing ColumnGroup parameter in children by @simonguo in #475

Full Changelog: 5.18.0...5.18.1

5.18.0

24 Nov 03:53
Compare
Choose a tag to compare

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

17 Nov 14:11
Compare
Choose a tag to compare

What's Changed

  • feat(Table): support get scroll position of the table through ref by @simonguo in #473

Full Changelog: 5.16.0...5.17.0

5.16.0

17 Nov 13:39
Compare
Choose a tag to compare

What's Changed

  • fix(Table): fix the compatibility issue with verticalAlign by @simonguo in #435

Full Changelog: 5.15.0...5.16.0

5.15.0

26 Oct 07:22
Compare
Choose a tag to compare

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

Full Changelog: 5.14.0...5.15.0

5.14.0

19 Oct 03:46
Compare
Choose a tag to compare

What's Changed

  • Feat(Table) : Add an option to define rowExpandedHeight as function by @Gami-404 in #465

New Contributors

Full Changelog: 5.13.0...5.14.0

5.13.0

17 Oct 01:52
Compare
Choose a tag to compare

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