Hi all,
I am using the DBTreeView bean. After loading data in the node table successfully, I am chaging some values in the records of the node table. The DBTree is based on the node table. I want that the changes should reflect in the Tree. I have used the code to refresh the Tree.
databaseManager.setAutoSave(true);
//search the root node(s)
forms.TreeCtrl.controller.find();
forms.TreeCtrl.parent_id = 0;
forms.TreeCtrl.controller.search();
//set the root node(s) and set the name of dataprovider to use for text display on a node
forms.TreeCtrl.elements.bn_treeView.setRoots(forms.TreeCtrl.foundset, 'node_text');
But It is not refreshing the Tree.
Am I doing some wrong?