Overview
Columns define the structure of your table data. ERPLite supports 15+ column types to handle various data needs - from simple text to complex relations between tables.Creating a Column
1
Open Column Creator
Click the + Add Column button in the table toolbar, or click + in the column header area
2
Enter Column Name
Provide a display name for your column
3
Select Column Type
Choose from the available column types below
4
Configure Properties
Set type-specific properties (required, default value, etc.)
5
Save
Click Create to add the column to your table
Column Types Reference
Text
Single or multi-line text input for names, descriptions, notes, etc.| Property | Description |
|---|---|
| Default Value | Pre-filled text for new records |
| Required | Whether the field must have a value |
| Unique | Enforce unique values across records |
Number
Numeric values - integers or decimals.| Property | Description |
|---|---|
| Default Value | Pre-filled number for new records |
| Required | Whether the field must have a value |
| Decimal Places | Number of decimal places to display |
Boolean
True/false toggle values.| Property | Description |
|---|---|
| Default Value | Default state (true/false) |
Date
Date-only values (no time component).| Property | Description |
|---|---|
| Default Value | Default date for new records |
| Required | Whether the field must have a value |
Date & Time
Full timestamp with date and time.| Property | Description |
|---|---|
| Default Value | Default timestamp |
| Required | Whether the field must have a value |
Time
Time-only values (no date component).| Property | Description |
|---|---|
| Default Value | Default time |
Location
GPS coordinates with address support.| Property | Description |
|---|---|
| Address | Enable address input |
| Latitude/Longitude | Enable coordinate input |
| Required | Whether the field must have a value |
Choice (Single Select)
Dropdown with predefined options - user selects one.| Property | Description |
|---|---|
| Options | List of available choices |
| Default Value | Pre-selected option |
| Required | Whether a selection is required |
Multi-Select
Multiple choice selection from predefined options.| Property | Description |
|---|---|
| Options | List of available choices |
| Default Values | Pre-selected options |
File
File attachment upload.| Property | Description |
|---|---|
| Allowed Types | Restrict file extensions |
| Max Size | Maximum file size |
| Multiple | Allow multiple files |
Image
Image file upload with preview.| Property | Description |
|---|---|
| Max Size | Maximum image size |
| Multiple | Allow multiple images |
Signature
Digital signature capture.| Property | Description |
|---|---|
| Required | Whether signature is required |
Relation
Link to records in another table.| Property | Description |
|---|---|
| Target Table | The table to link to |
| Cardinality | ONE (single link) or MANY (multiple links) |
| Display Column | Which column to show from linked records |
| Create Back-Reference | Create reverse relation in target table |
- ONE: Each record links to at most one record in the target table
- MANY: Each record can link to multiple records in the target table
User
Reference to a user in your organization.| Property | Description |
|---|---|
| Required | Whether assignment is required |
| Multiple | Allow multiple users |
Team
Reference to a team in your organization.| Property | Description |
|---|---|
| Required | Whether assignment is required |
| Multiple | Allow multiple teams |
Computed
Calculated field using JavaScript expressions.| Property | Description |
|---|---|
| Formula | JavaScript expression for calculation |
| Dependencies | Fields used in the calculation |
Button
Action button that triggers automations.| Property | Description |
|---|---|
| Label | Button text |
| Action Type | RUN_AUTOMATION or OPEN_URL |
| Automation | Automation to run (if applicable) |
| URL | URL to open (if applicable) |
List of Text
Array of text values.| Property | Description |
|---|---|
| Required | Whether at least one value is required |
Comment
Discussion thread on a record.| Property | Description |
|---|---|
| Enabled | Show comments section |
Column Settings
Display Column
Mark one column as the “display column” - this value represents the record in dropdowns and relation fields.Required Field
Marking a field as required ensures every record must have a value for this field.Unique Constraint
Enforce that all values in this column must be unique across the table.Column Description
Add a description to help users understand what data should be entered.For AI Agents
Column Type Constants
API: Add Column to Table
API: Get Column Definitions
Relation Column Configuration
UI Elements
| Element | Component | Purpose |
|---|---|---|
| Add Column Button | CustomToolbar | Opens column creation modal |
| Column Type Selector | ColumnCreation.tsx | Grid of type icons |
| Column Properties | ColumnProps.tsx | Type-specific configuration |
| Column Header Menu | renderColumnActionsMenuItems | Column actions dropdown |