Sato Sato - 3 years ago 117
Javascript Question

How to filter by some column in bootstrap-table?

I have a table with one column called gender, and only have two values: male and female.

What I want is a select above the table, when I select male, only rows with gender column equals to male shows.

How to do it in bootstrap-table? cannot find any similiar examples.

Answer Source

You should use DataTables, it has everything: https://datatables.net/examples/styling/bootstrap.html

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download