Enabling / Disabling Cell Edit by Object / Relationship ID

This API enables or disables edit mode for a row identified using the RelId, ObjectId, and column name.

emxEditableTable.setCellEditableByObjectRelId

This API requires these input arguments:


  • relId. The relationship ID of the needed cell.
  • objectId. The object 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 relId = [];
Var objectId =[];
Var colName = Units
Var isRefreshView = true;
emxEditableTable.setCellEditableByObjectRelId(relId,objectId, 
colName,true,isRefreshView)

In this example, row [0,1] is set to be editable.