PersistTreeView

Function PersistTreeView 

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

Persists tree view state.

TODO: Implement PersistTreeViewState method in the TreeViewProvider trait. This method should serialize and store the current tree state (expansion, selection, scroll position) to allow restoration across sessions. Typically saved to workspace storage or ApplicationState for persistence.