Defines the look and feel of the data table when showing data in a tabular format.
Referenced by: Catalog Footprint Layer (CatalogFootprintLayer), CSV Layer (CSV), Feature Layer (ArcGISFeatureLayer), GeoJSON Layer (GeoJSON), Scene Layer (ArcGISSceneServiceLayer), table
Properties
| Property | Details | 
|---|---|
| attributeTableElements[] | An array of attributeTableElement objects that represent an ordered list of elements that represent various types of tabular content.Array of items of the following types:  | 
| orderByFields[] | Array of orderByField objects indicating the row sort order, and whether they should be sorted in ascending 'asc' or descending 'desc' order. | 
Example
{
  "attributeTableElements": [
    {
      "fieldName": "inspectionDate",
      "type": "field"
    },
    {
      "fieldName": "inspectionType",
      "type": "field"
    },
    {
      "fieldName": "inspectedBy",
      "type": "field"
    },
    {
      "label": "Address Information",
      "type": "group",
      "attributeTableElements": [
        {
          "fieldName": "StreetNumber",
          "type": "field"
        },
        {
          "fieldName": "StreetName",
          "type": "field"
        },
        {
          "fieldName": "City",
          "type": "field"
        }
      ]
    },
    {
      "label": "Photos and Files",
      "description": "Click to get more details.",
      "type": "attachment",
      "displayType": "auto"
    },
    {
      "label": "Inspections",
      "description": "Click to browse previous inspections",
      "type": "relationship",
      "relationshipId": 0
    }
  ],
  "orderByFields": [
    {
      "field": "inspectionDate",
      "order": "desc"
    }
  ]
}