refreshAll();
The refreshAll method refreshes all contents of ribbon tab.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). The example given below shows names of items for different menus on the ribbon:
// Get view of the Table tab
var categoryView= expressBox.getRibbonView().getTableCategory();
// Add a tab refresh event handler
category.Refreshed.add(function(sender, args) {
console.log("The Table tab is refreshed");
});
categoryView.refreshAll();
category.Refreshed.fire(category);
After executing the example all contents of the express report ribbon tab is refreshed. The console displays a message about tab refresh:
The Table tab is refreshed
See also: