Class DefaultMergeStrategy

Merge strategy interface.

Hierarchy

Hierarchy (View Summary)

Implements

Constructors

Methods

  • Function that processes merging of the whole data per merged field. Returns collection where object has reference to the original record and map of the cell merge metadata per field.

    Parameters

    • data: any[]
    • field: string
    • comparer: (
          prevRecord: any,
          record: any,
          field: string,
          isDate?: boolean,
          isTime?: boolean,
      ) => boolean = ...
    • result: any[]
    • activeRowIndexes: number[]
    • isDate: boolean = false
    • isTime: boolean = false
    • grid: GridTypeBase

    Returns any[]