@spartanfx/react v1.2.2
@spartanfx/react / codeapps / ICATreeViewBaseConfig
Interface: ICATreeViewBaseConfig
Base config shared by the CodeApps TreeView adapters.
Extends
Properties
Required
Options
| Property | Type | Description |
|---|
autoRefresh? | boolean | Enable auto-refresh after mutations (default: true). |
cacheDuration? | number | Cache TTL for read results in ms (default: 60_000). |
debug? | boolean | Enable verbose console logging (default: false). |
odataFilter? | string | Optional OData $filter expression. |
orderColumn? | string | Optional $orderby column. |
retryPolicy? | ICARetryPolicy | Retry policy for transient failures. |
rowLimit? | number | Maximum records per fetch (default: 5000). |
Events & callbacks
| Property | Type | Description |
|---|
onError? | (error) => void | Error callback. Called for every operational failure. |
onNotify? | CANotifyFn | Notification callback. If omitted, hook errors surface via error state only. |