getContentRendered();
The getContentRendered method returns whether items of the Table tool ribbon tab are drawn.
The method returns True if elements are drawn, otherwise it returns False.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Check if all elements of the Table tool ribbon tab are drawn. If the elements are not drawn, render them:
// Get view of the Table tab var category = expressBox.getRibbonView().getTableCategory(); // Check if elements are drawn if (category.getContentRendered()) { console.log("Tab elements are drawn"); } else { console.log("Tab elements are not drawn"); category.renderContent(); }
As a result the console displays a message about checking if elements are drawn:
Tab elements are not drawn
Elements of the Table tab will be drawn after calling the TableCatView.renderContent method.
See also: