filterRows property

List<PlutoRow> filterRows
final

Filtering status when filtering conditions are set.

If this list is empty, filtering is not set. Filtering column, type, and filtering value are set in PlutoRow.cells.

filterRows can be converted to Map type as shown below.

FilterHelper.convertRowsToMap(filterRows);

// Assuming that filtering is set in column2, the following values are returned.
// {column2: [{Contains: 123}]}

The filter type in FilterHelper.defaultFilters is the default, If there is user-defined filtering, the title set by the user is returned as the filtering type. All filtering can change the value returned as a filtering type by changing the name property. In case of PlutoFilterTypeContains filter, if you change the static type name to include PlutoFilterTypeContains.name = 'include'; {column2: {include: abc}, {include: 123}} will be returned.

Implementation

final List<PlutoRow> filterRows;