A React table component.
flexGrow
is invalid when the table is hidden and then shown by @simonguo in https://github.com/rsuite/rsuite-table/pull/489
Full Changelog: https://github.com/rsuite/rsuite-table/compare/5.18.2...5.18.3
RowDataType
type by @simonguo in https://github.com/rsuite/rsuite-table/pull/476
Full Changelog: https://github.com/rsuite/rsuite-table/compare/5.18.1...5.18.2
Full Changelog: https://github.com/rsuite/rsuite-table/compare/5.18.0...5.18.1
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>;
Full Changelog: https://github.com/rsuite/rsuite-table/compare/5.17.0...5.18.0
Full Changelog: https://github.com/rsuite/rsuite-table/compare/5.16.0...5.17.0
Full Changelog: https://github.com/rsuite/rsuite-table/compare/5.15.0...5.16.0
Full Changelog: https://github.com/rsuite/rsuite-table/compare/5.14.0...5.15.0
Full Changelog: https://github.com/rsuite/rsuite-table/compare/5.13.0...5.14.0
Full Changelog: https://github.com/rsuite/rsuite-table/compare/5.12.0...5.13.0
Full Changelog: https://github.com/rsuite/rsuite-table/compare/5.11.1...5.12.0