rx-datatable API
    Preparing search index...

    Function getDataAsTree2

    • Converts a list of items to a tree using a user-defined getChildren function.

      TODO: optimize the design so that it is not necessary to call getChildren() on non-expanded nodes.

      Type Parameters

      • T

      Parameters

      • items: Iterable<T>
      • getChildren: (item: T) => T[] | undefined
      • Optionalparent: TreeItem<T, T>
      • depth: number = 0

      Returns TreeItemM<T>[]