API Reference > ui-components > Tree > TreeProps > onSelectionLoadProgress onSelectionLoadProgress MethodOptional Called to report progress of selection load. Arguments: loaded - number of items loaded total - total number of items that need to be loaded cancel - callback method to cancel the load Note: the callback is only called when selection change involves some not-loaded nodes. onSelectionLoadProgress(loaded: number, total: number, cancel: () => void): void Parameter Type Description loaded number total number cancel () => void Returns - void Defined in ui/components/src/ui-components/tree/deprecated/component/Tree.tsx Line 114 Last Updated: 11 June, 2024