findRows(criteria, [new_order])

Class: Table.

Description:

Finds rows by provided criteria and returns their indexes.

Parameters:

Name Type Default Description

criteria

string

Criteria expression to retrieve indexes or rows that meet the specified criteria. Learn more about filter expression in docs from Table > filter method.

[new_order]

false

Boolean true to return the rows in the new sorted order or false for original order.

Returns:

Returns row indexes found by provided criteria.

Type: Array.<number>