ctreeview - preload branch of tree

Hi! I need create tool for edit tree and as one part of this goal is to preload custom branch of tree by query for example ‘uri’=>‘tree/view’, ‘id’=‘322’. i try to use this code:




<?php

$this->widget('CTreeView',array('data'=>$data, 'url'=>array('treeGet'),'animated'=>'slow','collapsed'=>true,'htmlOptions'=>array('class'=>'treeview-gray')));

?>



i expect - $data is preloaded branch, treeGet - action to expand branchs. but in result i have two separated tree: bpreloaded branch and full tree expanded by action.

pardon m english. can anyone help?

i try to use




<?php

$this->widget('CTreeView',array( 'url'=>array('treeGet'),'animated'=>'slow','collapsed'=>true,'persist'=>'cookie','htmlOptions'=>array('class'=>'treeview-gray')));

?>



does not take effect