編輯

共用方式為


gridEntity.getEntityReference (Client API reference)

Returns a Lookup value that references the record in the row.

Grid types supported

Read-only and editable grids

Syntax

gridEntity.getEntityReference();

Return Value

Type: Lookup

Description: Lookup object that references the record in the row. The object has the following values:

  • entityType: String. The logical name for the record in the row. The same data returned by the GridEntity.getEntityName method.
  • id: String. The Id for the record in the row. The same data returned by the GridEntity.getId method.
  • name: String. The primary column value for the record in the row. The same data returned by the GridEntity.getPrimaryAttributeValue method.

Remarks

To get the gridEntity object, see GridEntity.