• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
  • Tim Holloway
  • Carey Brown
  • salvin francis

Dynamic creation of custom filter based on the columns visible in the tableColumnHeader

Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to create a custom filter based on the columns visible in the table column header at any point of time.The custom filter has the column names.i have a jpopupmenu having all the column names with checkboxes against them which appears when user clicks on the table column header...when user unchecks any of the checkboxes the column disappears from the table column header...now i want the same column names(that are visible in the column header to be mapped to my custom filter).There are in total 9 columns out of which the custom filter is to have only 5 of them...now if among these 5 columns user checks or unchecks any column,the column should appear or disappear in the custom filter respectively.

Could anyone help me out with this.

I RELEASE YOU! (for now .... ) Feel free to peruse this tiny ad:
create, convert, edit or print DOC and DOCX in Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!