Remove Data Row
Remove Data Row
Section titled “Remove Data Row”Type: remove-row · Package: DataTable Activities v1.0.0 · Output: none
Removes a row from a DataTable by its index (zero-based).
How it works
Section titled “How it works”Removes the row at position index (the first row is 0). If the index is out of range, it fails with a clear message.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
table | expression | The DataTable to modify, e.g. = customers. |
index | expression | Index of the row to remove (zero-based). |
Optional parameters
Section titled “Optional parameters”None.
Output
Section titled “Output”None — modifies the table in place.
Example
Section titled “Example”Remove Data Row table = = people index = 0
Log message = = rowCount(people) + " rows left"Related activities
Section titled “Related activities”- Filter DataTable — keep the rows that meet a condition.
- Clear DataTable — empty all rows.
- Find Data Row — locate a row by condition.