TabSheet.removeExpander

Syntax

removeExpander(coord: PP.Ui.TabSheetCoord, noCacheRemove);

Parameters

coord. Coordinate of the cell, in which the expander button is removed.

noCacheRemove. Indicates whether to remove expander button from a cached cell. If the parameter is True, the button is removed from a real cell.

Description

The removeExpander method removes expander button from a cell with a specified coordinate.

Example

To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Remove expander button from the cell with the coordinate (0, 0):

// Determine coordinates of the top left table cell
var coord = tabSheet.coord(0 ,0);
// Get expander by coordinates
if (tabSheet.getExpanderUnderCoord(coord)) {
    // Remove expander button
    tabSheet.removeExpander(coord)
};

After executing the example expander button is removed from the cell under coordinate (0, 0):

See also:

TabSheet