Setting Cell Values By Object / Relationship ID

This API sets the actual and display values of the cell identified by the row ID and column name.

emxEditableTable.setCellValueByObjectRelId

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.
  • cellValue. The actual value of the cell to be stored in the database.
  • cellDisplayValue. The value to be shown in the UI for the cell.
  • isRefreshView. A boolean value that when true (the default), refreshes the structure browser page.

Example:

Var relId = [];
Var objectId = [];
Var colName = Units
Var cellValue = U1,U2,U3;
Var cellDisplayValue = "U1 - U3";
Var isRefreshView = true;
emxEditableTable.setCellValueByRowId(relId,objectId,colName,cel
lValue,cellDisplayValue,isRefreshView)