update ();
The update method refreshes displayed tree.
The method is used to update component displaying as a part of high-level components, such as EaxDimBar.
To execute the example, the page must contain the TreeList component named treeListSett (seebsp; Example of Creating the TreeList Component). Set descending sorting by the first column for the tree, and show sorting parameters in the console:
treeListSett.sort(0, PP.Ui.TreeListSort.desc, 'Checked', true);
treeListSett.update();
treeListSett.getSort();
After executing the example the tree is sorted by the first column in descending order. An object that contains sorting parameters is displayed to the console.
See also: