Search based on column (select)

Search based on column (select)

adrianriepl4adrianriepl4 Posts: 11Questions: 4Answers: 0

Hello guys,
I want to ask how I can achieve that there is a select (option) element, options are being populated from the columns of the table, above the table. Based on the option the user has chosen, the table will be filtered through the search textfield value.

I tried some options but I didn't succeed. Nothing appears at all.

I'm sorry for my english. thanks for your time and help guys!

Answers

  • ignignoktignignokt Posts: 146Questions: 4Answers: 39

    Are you basically looking for this, but the select boxes to show up at the top of each column?

  • adrianriepl4adrianriepl4 Posts: 11Questions: 4Answers: 0

    I'm looking for a select box with the column names inside of it (First Name, Last Name, ...). Then if the user chooses as example the column First Name the search field should just search in the column First Name and not the whole table.

This discussion has been closed.