레퍼런스 findRows()

findRows()

Finds the rows in the Table that contain the value provided, and returns references to those rows. Returns an Array, so for must be used to iterate through all the rows, as shown in the example above. The column to search may be specified by either its ID or title.

예제

구문

findRows(value, column)

매개변수

value
String:

The value to match

column
Integer|String:

ID number or title of the column to search

Returns

p5.TableRow[]: An Array of TableRow objects
Notice any errors or typos? Please let us know. Please feel free to edit src/io/p5.Table.js and open a pull request!

관련 레퍼런스