-1

i have problem with filters in vaadin. I know how to create filter for one column, and another filter in another TextField for second column, but i dont know how to make one filter, or maybe two filters which ll be assign to one TextField. So I want to make one TextField where i can find/ filter data from more than one column.

Now I have this:

filter = new SimpleStringFilter(columnId, event.getText(), true, true);
f.addContainerFilter(filter);

and

TextField filter = getColumnFilter("column1", grid);

filteringHeader.getCell("column1").setComponent(filter);
Maciej Wojcik
  • 2,115
  • 2
  • 28
  • 47

1 Answers1

1

I didn't understood your question properly. If your intention is to implement multiple filters on a container then you can refer to this SO page Multiple filters for container

Community
  • 1
  • 1
Knu8
  • 388
  • 3
  • 17