参考 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!

相关参考