Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UseSortByColumnProps<D>

Type Parameters

  • D extends object

Hierarchy

  • UseSortByColumnProps

Index

Properties

canSort: boolean
isSorted: boolean
isSortedDesc: undefined | boolean
sortedIndex: number

Methods

  • clearSortBy(): void
  • Returns void

  • getSortByToggleProps(props?: Partial<TableSortByToggleProps>): TableSortByToggleProps
  • Parameters

    • Optional props: Partial<TableSortByToggleProps>

    Returns TableSortByToggleProps

  • toggleSortBy(descending?: boolean, multi?: boolean): void
  • Parameters

    • Optional descending: boolean
    • Optional multi: boolean

    Returns void

Generated using TypeDoc