DataCatView.getContentRendered

Syntax

getContentRendered();

Description

The getContentRendered method returns whether items of the Data tool ribbon tab are drawn.

Comments

The method returns True if elements are drawn, otherwise it returns False.

Example

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 Data tool ribbon tab are drawn. If the elements are not drawn, render them:

// Get view of the Data tab
var category = expressBox.getRibbonView().getDataCategory();
// 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

 

The Data tab elements are drawn.

See also:

DataCatView