title | tags | created | modified | ||
---|---|---|---|---|---|
lib-react-table-api |
|
2020-07-15T13:40:45.982Z |
2020-07-15T13:46:06.926Z |
- ref
useBlockLayout
is a plugin hook that adds support for headers and cells to be rendered asinline-block
divs (or other non-table elements) with explicit width.
useAbsoluteLayout
is a plugin hook that adds support for headers and cells to be rendered as absolutely positioned divs (or other non-table elements) with explicit width.
useFlexLayout
is a plugin hook that adds support for headers and cells to be rendered as inline-block divs (or other non-table elements) with width being used as the flex-basis and flex-grow.- This hook becomes useful when implementing both virtualized and resizable tables that must also be able to stretch to fill all available space.