Table widgets in Decision Optimization experiments
You can add tables in the Visualization view to improve the readability of data.
Table widget specifications include columns that follow this syntax:
{ "name": "Table Cars", "type": "Table", "property": "Acceleration", "label": "Acceleration", "type": "Number", "visible": true, "width": 100, "style": {} }
Field | Description |
---|---|
|
Key property to access data in the specified row. |
|
Required to have a proper search and filter feature, as numbers are not searched like strings. |
|
Allows the display or hiding of any column without completely removing its definition. |
|
Defines the column headings. |
|
Allows tables to be styled by adding CSS properties in camel case. For example, if you want
to specify the alignment of text in a table, use rather than
. |
You can customize the rendering of tables by using the following elements:
Element | Description |
---|---|
|
Displays row numbers. |
|
Reduces row height. |
|
Set to to expand the column widths to fit
into the widget. |
|
Set to to shrink the column widths to fit
into the widget. |
The search and filtering feature is available in tables. To search content in a table, click the
search icon . You can limit your search to a specific column, by adding a prefix
to your search as follows
. For example,
"column heading":"search"
. To search values that range from x to y, use
name:chevrolet
. You can also search values greater than x, for example
10..20
, and values less than x, for example 10..
. For more
information about table filtering, see Table search and filtering in a Decision Optimization experiment...20