TabSheetAdjustmentMgr.getProcessResizeCells

Syntax

getProcessResizeCells();

Description

The getProcessResizeCells method determines whether table cells are currently being resized.

Comments

The method returns True if table cells are currently being resized, otherwise it returns False.

Example

To execute the example, the HTML page must contain a component named tabSheet (see Example of Creating the TabSheet Component). If the cells are not currently resized, reset mouse pointer parameters and refresh the table. Otherwise the appropriate message appears:

// Get table column and row resizer
var tsam = tabSheet.getAdjustmentMgr();
// Determine whether cells are currently being resized
var processFlag = tsam.getProcessResizeCells();
if (!processFlag) {
    // Reset mouse pointer parameters to defaults
    tsam.reset();
    // Refresh table
    tsam.getTabSheet().rerender()
    console.log("Mouse pointer parameters are reset, table is refreshed.")
} else {
    console.log("Table cells are currently being resized.")
};

If the cells are not currently being resized, mouse pointer parameters are reset and the table is refreshed.

See also:

TabSheetAdjustmentMgr