Data Table Trim
Keep a maximum number of rows by trimming extras.
Parameters
| Parameter | Description |
|---|---|
| Data Table Source | Select the target DataTable. Set Source, then assign the matching table, asset, or component field that appears. |
| Max Rows | Maximum number of rows to keep. |
| Remove From | End removes newest/end rows first. Start removes oldest/start rows first. |
| Trimmed | True when rows were removed. |
Details
If row count is already at or below Max Rows, nothing changes.
Use this to cap history tables, logs, or queues.
Examples
- Keep only the latest 20 chat messages by removing from start.
- Keep top 100 score rows after adding new entries.