# filterBy

(Can use only in client-side) Filter data in table,
e.g. You can filter `{age: 10}` to show the data only age is equal to 10.
You can also filter with an array of values, as in: `{age: 10, hairColor: ["blue", "red", "green"]}` to find data where age is equal to 10 and hairColor is either blue, red, or green.
In this example, we filter by:

    $table.bootstrapTable('filterBy', {
        id: [1, 2, 3]
    });

ID | Item Name | Item Price
--- | --- | ---