Warning
p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)
A TableRow object represents a single row of data values, stored in columns, from a table.
A Table Row contains both an ordered array, and an unordered JSON object.
Examples
Syntax
p5.TableRow(row)
Parameters
row
any[]: optional: populate the row with an array of values
Methods
set
Stores a value in the TableRow's specified column. The column may be specified by either its ID or title.
setNum
Stores a Float value in the TableRow's specified column. The column may be specified by either its ID or title.
setString
Stores a String value in the TableRow's specified column. The column may be specified by either its ID or title.
get
Retrieves a value from the TableRow's specified column. The column may be specified by either its ID or title.
getNum
Retrieves a Float value from the TableRow's specified column. The column may be specified by either its ID or title.
getString
Retrieves an String value from the TableRow's specified column. The column may be specified by either its ID or title.
Notice any errors or typos? Please let us know. Please feel free to edit src/io/p5.TableRow.js and open a pull request!