Row Pinning

The row pinning feature provides methods and state for pinning rows to the top or bottom of the table. These properties are available on the table instance when using the row pinning feature. See the row pinning guide for usage examples and configuration details.

PropType
Returns all bottom pinned rows.
      () => Row<TData>[]
      Returns all rows that are not pinned to the top or bottom.
          () => Row<TData>[]
          Returns whether any rows are pinned. Optionally specify to only check for pinned rows in either the top or bottom position.
              (
              position?:
              | false
              | 'top'
              | 'bottom',
              ) => boolean
              Returns all top pinned rows.
                  () => Row<TData>[]
                  Resets the rowPinning state to initialState.rowPinning, or true can be passed to force a default blank state reset to { top: [], bottom: [], }.
                      (
                      defaultState?: boolean,
                      ) => void
                      Sets or updates the state.rowPinning state.
                          (
                          updater:
                          | T
                          | ((old: T) => T),
                          ) => void
                          Type
                          () => Row<TData>[]
                          Description
                          Returns all bottom pinned rows.
                              Type
                              () => Row<TData>[]
                              Description
                              Returns all rows that are not pinned to the top or bottom.
                                  Type
                                  (
                                  position?:
                                  | false
                                  | 'top'
                                  | 'bottom',
                                  ) => boolean
                                  Description
                                  Returns whether any rows are pinned. Optionally specify to only check for pinned rows in either the top or bottom position.
                                      Type
                                      () => Row<TData>[]
                                      Description
                                      Returns all top pinned rows.
                                          Type
                                          (
                                          defaultState?: boolean,
                                          ) => void
                                          Description
                                          Resets the rowPinning state to initialState.rowPinning, or true can be passed to force a default blank state reset to { top: [], bottom: [], }.
                                              Type
                                              (
                                              updater:
                                              | T
                                              | ((old: T) => T),
                                              ) => void
                                              Description
                                              Sets or updates the state.rowPinning state.