TableCatView.getTableSparklinesButton

Syntax

getTableSparklinesButton();

Description

The getTableSparklinesButton method returns the Lines button of the Table tool ribbon tab.

Comments

Returned value - object of the PP.Ui.RibbonButton class.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Rename the Lines button:

// Get view of the Table tab
var category = expressBox.getRibbonView().getTableCategory();
// Change button name
category.getTableSparklinesButton().setContent("Line settings");

As a result the button has a new name.

See also:

TableCatView