User guide
Quick Start Guide
Case notes
Table component
FAQ
Search
Dashboard
Deleted Documents and Access Log
Solving a task
AI Assistant
Manuals
Substitution and Vacation
Suspending, resuming, archiving and deleting a case
Case variables, history and graph
Basic Terms
Uploading Documents, Folders and Revisions
News
Favorites
Navigating the interface
Dashboard widgets
Case Detail
News/Announcements in Team assistant
Case list
Logging In and Out
Account Settings
Task List
Mobile app settings
Reports and Charts
Searching and Listing Documents
Handing Over, Taking Over and Tasks to Pull
Bulk Tasks
Printing a Case
Creating and Editing an Overview
What Is TAS
Form Fields
Tablet Interface and NFC
Overviews
Creating a New Case
Case Events
Case Permissions
Subscribing to an overview by email
Administrator Guide
Platform guide
Administration
Crons
Authentication and Synchronization
SMTP OAuth authentication
LDAP, SAML, Entra ID and NFC: Settings
Configuring authentication modules
Authentication
Vault
DMS attributes
Service Operations
Mobile App Setup for Your Environment
Scheme
XML Process Import
HR agenda and agenda handover
Logs
Archiving
Scripts
Sequences
System Status
News Management
Migrations
Configuration
Plugins
Email Queue
Service Console
AI monitoring
Shared Files
Settings
CSP Headers
CSV Files
Scheduled Tasks
Processing Queues
Maintenance
Administration Menu
Licenses
Dynamic Tables
Usage Statistics
Access Token Settings & Session Expiration
Visual Identity
Template
Prints
Tasks
Task calculations
Automatic task completion and cancellation
Email Task and Notifications
Task types
Smart Event task
Instructions, Sections and Testing a Task
General task settings and solver
Multi-instance
Planning: start, branching and due date
Dynamic conditions: builder
Variable assignment and sections
Variables
Class diagram, object state import and alias candidates
Document list
Text and Multiline text
Checkbox
Number
Variables: overview and common settings
Lists (texts, numbers, dates)
Dynamic Rows
Date
Dynamic list
Sequence
Dynamic Table
Shredding Process
Template graph
Template Tab
Template List
Importing, Exporting and Copying a Template
Template Headers
Case statuses
Roles
Connecting to a different database
Diagnosing services
Hyper-V: Isolated NAT Network with Port Forwarding
Users
Translations
NFC Integration
Events and Rules
AXIOS API
Plans
Axios with Vault
Users
Axios with SSL Certificate
User Detail
Calculations & Functions
Form condition
Other dynamic conditions
Optimization of API calls on dynamic conditions
Filtering in a dynamic sheet using dynamic conditions
Dynamic Conditions: Script
Dynamic Rows: Script
Calculations
Dynamic Tables
Printing and File Generation
Documents in Calculations — Complete Guide
Printing and File Generation in Calculations
DOCX document creation
Other Calculations
How and when calculations run
Calculations API reference: the lib library
Calculations API reference: variables and case
Global Scripts and React Scripts
Integrations
MS Graph
MS Graph - cron configuration
MS Graph v2 (from v5.7.102)
MS Graph - preparing the mailbox
MS Graph (email)
ISDOC.PDF
DocuSign
TAS call module - TAS 2 TAS (process creation via API)
DB View
DocuSign and electronic signatures
ERP and other integrations
Smart Events for Integrations
TAS Forms
TAS Forms
Activating the module on the environment
TAS Forms - secret creation guide for Docker Swarm
Advanced Features & Tips
Filtering in a dynamic sheet using a URL parameter (static)
Optimizing Overviews with a Large Number of Cases
API Documentation
Product
Technical Changelog
Business Changelog
Version Upgrade Guide
Upgrade to v5.19
Upgrade to TAS 5.19 - Key Changes and Removed Features
Upgrading TAS 5.17 to 5.19 – Technical Part (DevOps)
Upgrate to v5.17
Upgrade to TAS 5.17 - Key Changes and Removed Features
Asset Migration from FE to Backend (5.17 Upgrade) — DevOps
Upgrading to v5.7
Lodash upgrade v4.17.x (>v5.5)
Main changes and deprecated features (v5.3 > v5.7)
Highlighting variables in Read-only status (>v5.7.58)
Upgrading to 5.3
Dynamic conditions migration
PDF printing adjustment
Editing Task Description vs Task Instructions
Transpiling forEach to a for loop
Rendering HTML on Caseoverview
Differences between TAS4 and TAS5 - a complete overview
Best Practices for Upgrading from v4 to v5
Using validation functions
Technical details
Server prerequisites
Security and Data Protection
Security
TAS Operations Runbook
Technological architecture
News / Important information
Microsoft Disabling Basic Auth for SMTP
End of EWS support and transition to Microsoft Graph
Adjustment in EWS after MS Exchange update (29.04.2025)
Security notices
Getting Started
- All Categories /
- Administrator Guide
- Platform guide
- Template
- Variables /
- Dynamic Rows
Dynamic Rows
The Dynamic Rows type adds a table to the form where the user adds rows, such as order items, equipment or travel expenses. You define the columns, their types and behaviour in JSON, and the row calculations (products, sums, hiding columns) in a script. You set it up in the variable editor (Templates › template › Variables › variable). The shared part of the editor is described in the article Variables: overview and common settings.
Dynamic rows are a tool for consultants and template authors who know JSON and basic JavaScript.
Dynamic rows editor
When you select the Dynamic Rows type, a full-width Dynamic Rows section appears below the basic information. You do not enter the default value in a field. Instead, you fill in the preview.

| No. | Element | Purpose |
|---|---|---|
| 1 | Script | JavaScript code editor that controls cell values and behaviour. It highlights syntax, offers autocompletion and underlines errors. |
| 2 | Help | Opens the dynamic rows help: table and column properties, script methods with examples and a complete sample definition. The definition has the same button. |
| 3 | Insert snippet | Menu of ready-made code snippets that are inserted at the cursor position. You can search the menu. |
| 4 | Full screen | Opens the editor in a full-screen window. |
| 5 | Table and column definition | JSON with the table properties (table) and the list of columns (columns). It has its own help, snippets and full screen. When you leave the editor, the preview refreshes automatically. |
| 6 | Preview | The table as the user will see it. The rows you fill in the preview are saved as the default value of the variable. |
| 7 | Refresh | Rebuilds the preview from the current definition and script. |
In the example, the Equipment list table has the columns Item (selection from fixed options), Quantity, Unit price, Total and Note. The script calculates the Total column as the product of quantity and price:
this.value('total', null, function (t, i) {
var q = t['quantity'][i].getValue();
var p = t['unitPrice'][i].getValue();
return q && p ? q * p : null;
});Snippets

| Method | Purpose |
|---|---|
this.value | Sets the value of a cell or cells, typically a column calculation. |
this.task | Changes the appearance (styles) of a cell or cells. |
this.changeDef | Changes the table definition at runtime, for example hides a column or makes it read-only. |
this.changeFormComponents | Sets the value of another variable in the task form, for example a sum into a number variable. |
this.formComponentsStyle | Changes the style of another variable in the form, mainly to hide it. |
this.insertHtml and this.valueHtml | Inserts custom HTML below the table (for example total fields) and sets its value. |
this.changeCell | Changes cell properties, for example whether it is mandatory or valid. |
this.getDynTable | Loads the values of a dynamic table column for use in the script. |
this.deleteRow | Deletes a row. |
this.handleErrors | Reports errors in the form and prevents the task from being completed until they are fixed. |
Table definition
Main table properties (table):
| Property | Meaning |
|---|---|
showTotals | Totals row below the table. Default: yes. |
showAddRemove, showAdd, showRemove, showClone, showRemoveAll | Whether the user can add, delete and copy rows, and delete all rows at once. Adding, deleting and copying are allowed by default, deleting all rows is not. |
isDraggable | Reordering rows by dragging. Default: yes. |
watchVariables | Task variables whose change triggers a script recalculation. The variables must be assigned to the task as writable. |
runCondsOnChange, runAfterConds, attachScriptToConds | Relationship to the task's dynamic conditions: re-evaluating the conditions after a change in the table, running the script only after the conditions, or controlling the table only from dynamic conditions. |
resizable, minColWidth, side | Resizing column widths with a horizontal scrollbar, minimum column width and table placement. |
Main column properties (columns): name (name for the script), type (DL, SL, currency, number, percentage, date, text, textarea, file, checkbox), caption and translations (header and its translations), value (default cell value), duty (writeable, mandatory, readonly, cond-mandatory), choices (options for SL), dataUrl, urlFilter and dataStructure (data source for DL), nrOfDecimals, thCss and css (width and appearance). The full list with examples is in the editor help.
If the table definition is not valid JSON, saving ends with the message “Not valid JSON!” and the variable is not saved. When the table has
attachScriptToConds: true set, the script is read-only, because the table is controlled by the task's dynamic conditions.Extended example: order items
The sample template “TAS | Purchase Order 5.19” uses dynamic rows for order items. The script sets units of measure and VAT rates according to the language and calculates prices excluding and including VAT, the definition watches the purchase type and cost centre variables (watchVariables), and the columns have header translations.

How it looks in the form

The user selects an item and enters the quantity and price. The Total column is calculated by the script and is read-only. The plus icon below the table adds a row. Depending on the table definition, the user can also delete, copy and reorder rows by dragging. The Equipment list table has the totals row turned off (showTotals: false).
Related: Variables: overview and common settings, Dynamic Table, Task dynamic conditions.