Filter table model by data in specific column
I implemented a row sorter in my application but found it's not what I was looking for. I have a table that contains ~40 columns and anywhere from 6 to 300 rows. I want the user to be able to select a column, then select from the unique values in that column and filter based on their selection.
I have a combobox with the column headers, when selected it gets the unique values in that column and adds them to another combobox. When they select from the unique values, the row sorter searches for any column (string) which contains the value selected. I tried finding info on the net but got nothing concrete. I was going to write my own method but figured I would ask first. Maybe someone understands what I want and can help.