Skip to main content
Version: Next

useTable()

Home > @backstage/ui > useTable

Hook for managing table state including pagination and future features like sorting. Supports both controlled and uncontrolled modes using offset/pageSize pattern (Backstage style).

Signature:

function useTable<T = any>(config?: UseTableConfig<T>): UseTableResult<T>;

Parameters

Parameter

Type

Description

config

UseTableConfig<T>

(Optional)

**Returns:**

UseTableResult<T>