DataGrid.getStylesContainer

Syntax

getStylesContainer();

Description

The getStylesContainer method returns table styles.

Comments

The method returns the <script> tag with its contents.

Example

To execute the example, the HTML page must contain the DataGrid component named grid (see Example of Creating an Asynchronous Data Table). Clear table style settings:

// Get table styles
var styleContainer = grid.getStylesContainer();
// Clear style settings
styleContainer.textContent = "";

After executing the example table styles are cleared:

See also:

DataGrid