TabSheetSelection.ensureExistence

Syntax

ensureExistence();

Description

The ensureExistence method changes selection object to ensure its existence.

Example

To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component). Ensure existence of selection object:

// Get selection object
var objSelection = tabSheet.getSelection();
// Clear all selection in table
objSelection.clear();
// Ensure existence of selection object
objSelection.ensureExistence();

After executing the example the A0 cell is selected:

See also:

TabSheetSelection