DataTable
A Datatable component is a versatile tool used to manage and configure the columns in a table, often within the context of a low-code or no-code platform. This component allows users to define, organize, and manipulate the structure and appearance of columns in a table-based display.
Get Started
NB: This guide assumes the DataTable Context is already set up. Learn how to configure it here.
Properties
The following properties are available to configure the behavior of the component from the form editor (this is in addition to common properties).
Common
Component Name string
A unique identifier to bind the component to your form.
Data
Customize Columns
Configure columns using a visual builder. Optionally supports expression logic for visibility or customization.
-
Type
string
– Defines the column type:- Data (default)
- Action
- CRUD operations
- Form
-
Property Name
string
– The underlying field name from the data source. -
Tooltip
string
– Hover text shown in the column header. -
Caption
string
– Additional label or subtitle shown under the main title. -
Anchored
object
– Determines if the column is pinned during horizontal scroll:-
Left
-
Right
-
-
Is Visible
boolean
– Determines if the column should be displayed. -
Display Component
string
– Component used to render the value in view mode. -
Edit Component
string
– Component used when editing data inline. -
Create Component
string
– Component used for data entry in create forms.
Use Multi-select boolean
Enables checkbox selection of multiple rows.
Freeze Headers boolean
Pins table headers when scrolling.
Can Edit Inline object
Controls inline edit behavior:
- Yes
- No
- Inherit (default)
- Expression
Can Add Inline object
Controls row creation:
- Yes
- No
- Inherit (default)
- Expression
Can Delete Inline string
Controls delete access:
- Yes
- No
- Inherit (default)
- Expression
Appearance
Min Height number
Minimum height of the table container.
Max Height number
Maximum height before vertical scroll appears.
Table Container Style function
JS function returning CSS to apply on container.
Table Style function
JS function returning CSS to apply on table.
Empty State Icon object
Icon to show when there’s no data.
Primary Text string
Main message shown when table is empty.
Secondary Text string
Subtext shown in empty state.