Here's how to add and modify an Interactive Table widget
In this article, you will learn...
What is an Interactive Table widget?
How to use Interactive Table widgets
Note: In order to use this tutorial, it may be helpful to understand how to create a Table. Check out this separate guide if you have not done that before.
Adding the Interactive Table Widget
The Interactive Table widget is found under the Embed menu in the Toolbar.
Datasource
The Interactive Table widget can be used to visualize data from the following sources:
Variable: Any variable within the App (the variable must be an array of objects).
Tulip Table: An existing Tulip Table.
Tulip Table Query: A query within a Tulip Table to return filtered records.
Linked Record Placeholder / Variable
An Interactive Table Widget can also include a linked placeholder or variable, depending on datasource. This represents a container for a single object, with an Interactive Table representing a list of Objects. If a linked placeholder or variable is set, selecting a row within the table will load that row of data into the container.
Columns
To add columns, select them from the dropdown list to add them one at a time. Columns are represented by columns in the selected Tulip Table, Table Query, or by object keys in the selected variable.
Columns can be reordered by dragging labels in the widget properties. You can change the layout of the table by dragging each column in the App Editor or Player to change the width of columns.
Text Wrap
Text within an Interactive Table cell can be set to wrap. With wrapping enabled, longer-form text will create additional vertical space. With wrapping disabled, text will be shortened with an ellipsis when approaching the column edge.
To toggle text wrapping in the header and record text, toggle the switches in the Side Pane.
Select Button
A select button can be added to the Interactive Table widget to provide additional clarity to which row is selected if a Linked Placeholder/Variable has been added.
Filters
Static or dynamic filters can be added to the Interactive Table widget to filter out data in the interactive table widget. Filters can be set to match all or any condition and can be compared to Static Value, Variables, application information, and Table Record Field.
Sorting
Sorting the Interactive Table based on a specific column can be set up with the "Sort By" option in ascending or descending order (based on data type). You can also add multiple sorting methods per the columns in the table widget.
Columns already added in the Sort By option can also be sorted in the player. Click the ^ icon symbol to reverse the sort.
Row Index
A row index can be added to the Interactive Table widget to indicate the row count on the left side. The row count is specific to the content actively being displayed or rendered by the widget.
Rows per Page
The number of rows per page on the Interactive Table widget can be can be adjusted here. Increasing the number of rows beyond a certain number will add vertical scrolling functionality to the widget.
Triggers
Triggers can be configured to run when a row is selected within the Interactive Table widget. To add a trigger, click the + button next to the Trigger label in the widget properties menu.
Triggers can leverage information from the selected row by setting a Linked Record/Variable and using this within the body of the trigger.
Font Size and Pagination Font Size
The font size of the data displayed in the table and the size of the page number labels can be adjusted within the widget properties menu.
You can also head to community.tulip.co to post your question or see if others have faced a similar question!
Tulip Tables
Tulip Tables are a global location to store your production data. Tables are made up of Records (rows). A single can be accessed from multiple apps or stations at the same time.
Widget
Widgets are the elements that make up a specific App Step. Widgets can display information to users, collect user input, or trigger app logic.
Common widgets include: Interactive Tables, Number inputs, Machine attribute widgets, and more.
Widget Toolbar
The Widget Toolbar Is the menu where widgets can be found and added to your application.
Table Record Placeholder
A Table Record Placeholder is a reference to a row in a Tulip Table. Table Records can be created either from the Table UI or from an App Trigger.
Variable
Variables are a location to store app information. Variables have a specific type that must match the contents they can store.
Variables are only accessible within a single application and are cleared when the app is restarted or completed.
Widget
Widgets are the elements that make up a specific App Step. Widgets can display information to users, collect user input, or trigger app logic.
Common widgets include: Interactive Tables, Number inputs, Machine attribute widgets, and more.
Object
Objects are a Tulip Datatype. Objects represent an arbitrary grouping of attributes. Leveraging objects can simplify the process of working with complex data architectures. Often ConnectorFunctions will return Arrays of Objects
ex. My car object has 5 attributes, Color, Make, Model, # of wheels, # of seats.
Tulip Tables
Tulip Tables are a global location to store your production data. Tables are made up of Records (rows). A single can be accessed from multiple apps or stations at the same time.
Table Query
Table Queries are a mechanism to filter and sort Tulip Tables. Queries can either be filtered based on static values or dynamically based on app input.
Queried data can be displayed directly within the interactive table widget.
Tulip Player
Tulip Player is the Windows/Mac executable program where users can run Tulip apps. Tulip player allows you to create a more seamless user experience by removing the need for a web browser, and allows increased IT controls.
Side Pane
The Side Pane is the configuration pane on the right side of the App Editor where steps, apps, and widgets can be configured. Triggers can be added to adjust widget behavior.
Linked Placeholder
Linked Placeholder are one of the Side Pane settings for the Interactive Table Widget and RecordHistory Widget. This setting can be tied to a Table Record Placeholder, and when users select a row in the Widget, that record is loaded into the mapped Record Placeholder.
Variable
Variables are a location to store app information. Variables have a specific type that must match the contents they can store.
Variables are only accessible within a single application and are cleared when the app is restarted or completed.
Static Value
Static values are unchanging values that can be used within Triggers. Static values can be of any Variable type.
Variables
Variables are a location to store app information. Variables have a specific type that must match the contents they can store.
Variables are only accessible within a single application and are cleared when the app is restarted or completed.
Table Record Field
Table Record Fields are single columns within a Tulip Table.
Trigger
Triggers are the mechanism to do things in Tulip Apps. Store data, move users between Steps, Interface with hardware, Etc.
Triggers can be added to widgets, machines, devices, apps, and steps.
Linked Records
Linked Records are interconnections between multiple Tulip Tables. Fields in one Table can be mapped to another table.
Linked records simplify traceability, genealogy, and data association for more advanced Tulip apps and app suites.
Variable
Variables are a location to store app information. Variables have a specific type that must match the contents they can store.
Variables are only accessible within a single application and are cleared when the app is restarted or completed.
Was this article helpful?
Thank you for your feedback! Our team will get back to you