Function hierarchize

  • Type Parameters

    • T

    Parameters

    • items: T[]
    • recursiveHierarchy: RecursiveHierarchyType
    • Optional options: {
          compositeKeys?: string[];
          memberCaption?: string;
          onlyLeaves?: boolean;
          startLevel?: number;
          valueProperty?: string;
      }
      • Optional compositeKeys?: string[]
      • Optional memberCaption?: string
      • Optional onlyLeaves?: boolean
      • Optional startLevel?: number
      • Optional valueProperty?: string

    Returns TreeNodeInterface<T>[]

Generated using TypeDoc