Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface GridFilter

Decides which rows of a DataGrid are shown.

In a tree grid a node is shown when it is accepted or when any node under it is, so a match deep in the tree keeps the path to it; while a filter is set every such path is shown open.

Methods

public abstract boolean accept(GridRow row)Whether a row is shown.

Method details

accept

public abstract boolean accept(GridRow row)
Whether a row is shown.

Parameters

row GridRow
the row; read its values through it. The object is reused for the next row, so it must not be kept.