rx-datatable API
    Preparing search index...

    Variable TreeListCoreConst

    TreeListCore: <T, K = T, ItemProps extends Styles = DefaultTreeItemProps>(
        p: TreeListCoreProps<T, K, ItemProps>,
    ) => Element = ...

    A combined list and tree component that allows items to be nested inside each other, and allows parent nodes to be expanded or collapsed. Inherits selection and multiselect functionality from ListCore. It is the same as TreeList except that the list contents are not wrapped in any parent element.

    Example: In this tree, the child of each number is the square of the number. Note that 1 cannot be in the list, because all children are recursively enumerated when the list is displayed, so if 1 is in the list, the TreeListCore will crash. Also note that selecting 4 at the root level will also implicitly select the child of 2 because it is also 4; the component is not designed for duplicate items and so there may be glitches.

     <TreeListCore
         list={[ 2, 3, 4, 5, 6, 7, 8, 9, 10 ]}
         getChildren={x => x < 10 ? [x * x] : []}
         renderItem={node => `The number ${node.item}`}
     />
    

    Type Declaration