MMpy.DataGrid.get_row
Syntax
datagrid.get_row(row)
Description
Returns all values contained in the given row of the data grid.
Parameters
Name |
Type |
Description |
---|---|---|
row |
int | The row index. |
Returns
Type |
Description |
---|---|
list[str] | The values in the specified row, which are of string type (a serialised representation). |
See Also
MMpy.DataGrid.set_row
Notes
You will have to cast or construct the returned values into their proper types if you wish to process them further.
Row indexes are 0-based, meaning passing an index of 0 will return the first row.
Examples
datagrid = MMpy.DataGrid(...) ... values = datagrid.get_row(0)
Resource ID
IDPH_DATAGRID_GET_ROW