How to add a button to close the Attribute Table Widget?

814
1
12-19-2016 07:54 AM
SergioMartínez_Lizarazo
New Contributor

I want to add a close button (X) in the Attribute Table Widget with the Bilboard theme. Thanks

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Sergio,

  Just open the main config.json and find the attributetable widget and change the closable attribute from true to false:

      {
        "position": {
          "left": 60,
          "top": 53,
          "relativeTo": "map"
        },
        "placeholderIndex": 1,
        "id": "_28",
        "name": "AttributeTable",
        "version": "2.2",
        "featureActions": [
          {
            "name": "ShowRelatedRecords",
            "uri": "actions/ShowRelatedRecordsFeatureAction"
          },
          {
            "name": "ViewInTable",
            "uri": "actions/ViewInAttributeTableFeatureAction"
          }
        ],
        "uri": "widgets/AttributeTable/Widget",
        "closeable": false
      },
0 Kudos