In the attachment, i've put two samples of use of the component CTreeview ( standard and async).
Hoping it can help someone
I'm only not sure about my implementation of the callback in the async part but I didn't saw any other way to return data :
public function actionTreeFill()
Number of downloads: 137