EaxRibbonView.getMainButton

Syntax

getMainButton();

Description

The getMainButton method returns application button on the express report tool ribbon.

Comments

Application button for an express report is named Report.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Get information on the current CSS classes of the Report button:

// Get view of express report tool ribbon
var ribbon = expressBox.getRibbonView();
// Output information on CSS classes of the application button
console.log(ribbon.getMainButton().getClass());

Executing the example displays information on CSS classes of the application button on the express report tool ribbon:

" PPNoSelect H H Main Released".

See also:

EaxRibbonView