Enabling / Disabling Cell Edit by Row ID

This API enables or disables edit mode for a cell identified using the RowId and column name.

emxEditableTable.setCellEditableByRowId

This API requires these input arguments:


  • rowId. The row ID of the needed cell.
  • colName. The column name of the needed cell.
  • flag. If true, sets the editMask attribute of the row to false (allows to row to be edited; if false, removes the editMask attribute from the row (the row cannot be edited).
  • isRefreshView. A boolean value that when true (the default), refreshes the structure browser page.

Example:

Var rowId = [0,1];
Var colName = Units
Var isRefreshView = true;
emxEditableTable.setCellEditableByRowId(rowId,colName,true,isRefreshView)

In this example, the cell in the Units column of row [0,1] is made editable.