Documentation
RocketFuel
<  Widgets

Tabbed Data Table

### Description

Consolidate user related information (request, incidents, favorites, and approvals) in a condensed field. The Tabbed Data Table widget can be configured to display embedded widgets within any single tab. You can customize and style this widget using the available instance options and associated custom templates.

### Instance Options
| Option  | Property | Comments | Default Value | Source |
| ----- |:-----:| ---- | ---- | ---- |
| Template | `template` | Used to name the bootstrap class for the widget. | `Default value` | Instance |
| Configuration | `config` | Displays debug messages about configuration records to help troubleshoot issues. | `Default value` | Options Schema |
### Templates
| Name | Comments |
| -------- |:---|
| `nr-tabbed-data-table-default.html` | Displays the default template. |

### Widget Options Example

```js
{
 "tabs": [
   {
     "table": "sc_request",
     "id": "requests",
     "label": "Requests",
     "page": "sc_request",
     "widget_id": "nr-request-list",
     "countFilter":
       "active=true^opened_byDYNAMIC90d1921e5f510100a9ad2572f2b477fe",
     "filters": [
       {
         "id": "open",
         "label": "Open",
         "filter":
           "active=true^opened_byDYNAMIC90d1921e5f510100a9ad2572f2b477fe",
         "active": true
       },
       {
         "id": "closed",
         "label": "Closed",
         "filter":
           "active=false^opened_byDYNAMIC90d1921e5f510100a9ad2572f2b477fe"
       }
     ]
   },
   {
     "table": "sysapproval_approver",
     "id": "approvals",
     "label": "Approvals",
     "page": "approval",
     "filter":
       "state=requested^approverDYNAMIC90d1921e5f510100a9ad2572f2b477fe"
   }
 ]
}
```

### Configuration

```json
{
 "options": {
   "tabs": [
     {
       "table": "sc_request",
       "id": "requests",
       "label": "Requests",
       "page": "sc_request",
       "widget_id": "nr-request-list",
       "countFilter":
         "active=true^opened_byDYNAMIC90d1921e5f510100a9ad2572f2b477fe",
       "filters": [
         {
           "id": "open",
           "label": "Open",
           "filter":
             "active=true^opened_byDYNAMIC90d1921e5f510100a9ad2572f2b477fe",
           "active": true
         },
         {
           "id": "closed",
           "label": "Closed",
           "filter":
             "active=false^opened_byDYNAMIC90d1921e5f510100a9ad2572f2b477fe"
         }
       ]
     },
     {
       "table": "incident",
       "id": "incidents",
       "label": "Incidents",
       "page": "ticket",
       "filters": [
         {
           "id": "active",
           "label": "Active",
           "filter":
             "opened_byDYNAMIC90d1921e5f510100a9ad2572f2b477fe^active=true",
           "active": true
         },
         {
           "id": "inactive",
           "label": "Inactive",
           "filter":
             "opened_byDYNAMIC90d1921e5f510100a9ad2572f2b477fe^active=false"
         }
       ]
     },
     {
       "table": "sysapproval_approver",
       "id": "approvals",
       "label": "Approvals",
       "page": "approval",
       "filter":
         "state=requested^approverDYNAMIC90d1921e5f510100a9ad2572f2b477fe"
     }
   ]
 }
}
```

Want to Learn More? Talk to an Expert
Contact Us