Skip to content

Latest commit

 

History

History
executable file
·
28 lines (18 loc) · 1000 Bytes

lib-react-table-api.md

File metadata and controls

executable file
·
28 lines (18 loc) · 1000 Bytes
title tags created modified
lib-react-table-api
api
react-table
2020-07-15T13:40:45.982Z
2020-07-15T13:46:06.926Z

lib-react-table-api

guide

useTable

useBlockLayout

  • useBlockLayout is a plugin hook that adds support for headers and cells to be rendered as inline-block divs (or other non-table elements) with explicit width.

useAbsoluteLayout

  • 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

  • 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.