netbeans - Have a jcombobox filter a jtable -


Following this tutorial

Indicates that a text box How to use Will someone tell me how to do the same thing, but use a dropdown to test against a specific column?

(i.e. a dropdown of countries to be filtered by the country's column?

thanks

Depending on what the source is for the dropdown, I think the dropdown has not been used as part of itself, but Jethet's own data, but the unique data coming from a column of data Show a list of that? In that case, you can get Jettble's data modal, and then in the special column You can walk through all the cells, put them into a hashp, and put the string in the form of a key. In this way you have a list of unique strings (unfiltered) to use as a data modal for the dropdown box. That's when your list is to be updated, you can add a model listener to Taleedemodal.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -