Using the row object
The row object provides access to the columns of the current row from within the DataSet.onFetch( ) method. You can retrieve the value of any column, using the column name in a statement similar to the following examples:
col1Value = row["custNum"];
col1Value = row.custNum;
You can only index the column position with the column name if the name is a valid JavaScript name with no spaces or special characters. Alternatively, you can use the column alias if the alias is a valid JavaScript name.
You can retrieve the row number with row[0].
Although you use array syntax to access the row object in JavaScript, this object is not a JavaScript array. For this reason, you cannot use JavaScript array properties, such as length, with the row object.