DataGrid.mask

Syntax

mask();

Description

The mask method prevents table from editing.

Example

To execute the example, the HTML page must contain the DataGrid component named grid (see Example of Creating the DataGrid Component). Make a table unavailable for edit:

// Make a table unavailable to edit
grid.mask();

As a result, a table becomes unavailable to edit:

Make a table available to edit

// Make a table available
grid.unmask();

As a result, a table becomes available to edit:

See also:

DataGrid