Interface ISortingStrategy

Hierarchy

Hierarchy

  • ISortingStrategy

Implemented by

Properties

Properties

sort: ((data: any[], fieldName: string, dir: SortingDirection, ignoreCase: boolean, valueResolver: ((obj: any, key: string, isDate?: boolean) => any), isDate?: boolean, isTime?: boolean, grid?: GridType) => any[])

Type declaration

    • (data: any[], fieldName: string, dir: SortingDirection, ignoreCase: boolean, valueResolver: ((obj: any, key: string, isDate?: boolean) => any), isDate?: boolean, isTime?: boolean, grid?: GridType): any[]
    • Parameters

      • data: any[]
      • fieldName: string
      • dir: SortingDirection
      • ignoreCase: boolean
      • valueResolver: ((obj: any, key: string, isDate?: boolean) => any)
          • (obj: any, key: string, isDate?: boolean): any
          • Parameters

            • obj: any
            • key: string
            • Optional isDate: boolean

            Returns any

      • Optional isDate: boolean
      • Optional isTime: boolean
      • Optional grid: GridType

      Returns any[]