ToTable

Convert an array to a nice table display. Usually, from the context.

javascript · Common Scripts

Details

IDToTable
Languagejavascript
From Version5.0.0
TagsUtility

README

Converts an array in to a table display. Usually, from the context.

Script Data


Name Description
Script Type javascript
Tags Utility

Inputs


Argument Name Description
data The data to display as a table. This expects an array of objects.
title The title for the table.
columns The comma-separated list of columns to display. This accepts nested columns using dot notation.

Outputs


There are no outputs for this script.

commonfields:
  id: ToTable
  version: -1
name: ToTable
script: ''
type: javascript
tags:
- Utility
comment: Convert an array to a nice table display. Usually, from the context.
enabled: true
args:
- name: data
  required: true
  default: true
  description: The data to display as table - expecting array of objects
  isArray: true
- name: title
  description: Title for the table
- name: columns
  description: Comma-separated list of columns to display. Accepts nested columns
    using dot notation.
scripttarget: 0
fromversion: 5.0.0