संदर्भ p5.TableRow

p5.TableRow

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.

सिंटैक्स

p5.TableRow([str], [separator])

पैरामीटर्स

str
String:

optional: populate the row with a string of values, separated by the separator

separator
String:

comma separated values (csv) by default

मेथड्स

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!

संबंधित संदर्भ