Interface UseSortByInstanceProps<D>

Type Parameters

  • D extends object

Hierarchy

Properties

preSortedRows: Row<D>[]
rows: Row<D>[]
setSortBy: ((sortBy: SortingRule<D>[]) => void)

Type declaration

toggleSortBy: ((columnId: IdType<D>, descending?: boolean, isMulti?: boolean) => void)

Type declaration

    • (columnId: IdType<D>, descending?: boolean, isMulti?: boolean): void
    • Parameters

      • columnId: IdType<D>
      • Optional descending: boolean
      • Optional isMulti: boolean

      Returns void

Generated using TypeDoc