API Reference > ui-components > Tree > usePagedNodeLoader usePagedNodeLoader Function Beta Custom hook which creates PagedTreeNodeLoader for supplied dataProvider. usePagedNodeLoader<TDataProvider extends TreeDataProvider>(dataProvider: TDataProvider extends TreeDataProvider, pageSize: number, modelSource: TreeModelSource): PagedTreeNodeLoader<TDataProvider> Parameter Type Description dataProvider TDataProvider extends TreeDataProvider pageSize number modelSource TreeModelSource Returns - PagedTreeNodeLoader<TDataProvider> Defined in ui/components/src/ui-components/tree/controlled/TreeHooks.ts Line 45 Last Updated: 13 June, 2024