Table filtering on selected columns
With Tabulizer v4.1 you can add search/filtering controls that will search specific columns, instead of the whole table. On top of that, you can give in the page URL a value that will act as the initial value for the column(s) search filter.
Let's look at an example. By adding the following rule, I'm adding search/filter functionality to the table.
More specifically, I have defined two search filters on the 3rd column and on the 4th column. The specifier input means it will add a search input box, while the specifier select means that it will add a select control automatically populate with all the values in the specified column. Apparently, the select option is appropriate only in cases where the column takes a limited number of values.
Let's see how the resulting table looks like:
Year | Olympiad | Host city | Season |
1972 | XX | West Germany Munich, West Germany | Summer |
1972 | XI | Japan Sapporo, Japan | Winter |
1976 | XXI | Canada Montreal, Canada | Summer |
1976 | XII | United States Denver, United States | Winter |
1980 | XXII | Soviet Union Moscow, Soviet Union | Summer |
1988 | XIII | United States Lake Placid, United States | Winter |
1984 | XXIII | United States Los Angeles, United States | Summer |
1988 | XIV | Socialist Federal Republic of Yugoslavia Sarajevo, Yugoslavia | Winter |
1988 | XXIV | South Korea Seoul, South Korea | Summer |
1988 | XV | Canada Calgary, Canada | Winter |
1992 | XXV | Spain Barcelona, Spain | Summer |
1994 | XVII | Norway Lillehammer, Norway | Winter |
1996 | XXVI | United States Atlanta, United States | Summer |
1998 | XVIII | Japan Nagano, Japan | Winter |
2000 | XXVII | Australia Sydney, Australia | Summer |
2002 | XIX | United States Salt Lake City, United States | Winter |
2004 | XXVIII | Greece Athens, Greece | Summer |