OnTreeViewExpansionChanged

Function OnTreeViewExpansionChanged 

Source
pub async fn OnTreeViewExpansionChanged(
    _ApplicationHandle: AppHandle<Wry>,
    _State: State<'_, Arc<ApplicationState>>,
    _ViewId: String,
    _ElementHandle: String,
    _IsExpanded: bool,
) -> Result<Value, String>
Expand description

Handles tree node expansion/collapse events.

TODO: Implement OnTreeNodeExpanded method in the TreeViewProvider trait. This method notifies the provider when a node is expanded or collapsed, allowing it to lazily load child items or preserve expansion state. Currently returns an error indicating the method is not implemented.