Interface 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, fieldName, dir, ignoreCase, valueResolver, isDate?, isTime?, grid?): any[]
    • Parameters

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

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

            Returns any

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

      Returns any[]