TabSheetModel.isCoordLoaded

Syntax

isCoordLoaded(coord: PP.Ui.TabSheetCoord);

Parameters

coord. Table cell coordinates.

Description

The isCoordLoaded method determines whether the cell with the specified coordinates is loaded.

Comments

This method returns True if the cell with specified coordinates is loaded, and False if it is not loaded.

Example

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

// Get table data model
var model = tabSheet.getModel();
// Set cell coordinates
var coord = tabSheet.getCoord(1, 1);
// Make sure that the cell with the specified coordinates is loaded
if (model.isCoordLoaded(coord)) {
   console.log("Cell is loaded");
} else {
    console.log("Cell is not loaded");
};

After executing the example the console displays a message that the cell with the specified coordinates is loaded.

Seebsp;also:

TabSheetModel