Type alias SortByFn<D>

SortByFn<D>: ((rowA: Row<D>, rowB: Row<D>, columnId: IdType<D>, desc?: boolean) => number)

Type Parameters

Type Parameters

  • D extends object

Type declaration

    • (rowA: Row<D>, rowB: Row<D>, columnId: IdType<D>, desc?: boolean): number
    • Parameters

      • rowA: Row<D>
      • rowB: Row<D>
      • columnId: IdType<D>
      • Optional desc: boolean

      Returns number

Generated using TypeDoc