Skip to content

Get Data Row

Type: get-row  ·  Package: DataTable Activities v1.0.0  ·  Output: DataRow

Returns the row (DataRow) at a specific position of a DataTable.

Reads the row at position index (the first is 0) and returns it. If the index is out of range, it fails with a clear message. It does not modify the table.

With the row you can read cells with Get Cell or modify it with Set Cell / Update Data Row — remember the row is still bound to its table, so modifying it changes the table.

ParameterEditorDescription
tableexpressionThe DataTable to read from, e.g. = customers.
indexexpressionRow index (zero-based).

None.

Returns a DataRow.

Get Data Row table = = people index = 0 → output: first
Set Cell row = = first column = "age" value = 99
Log message = = "Name: " + str(first["name"])