• 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
  • Himai Minh
  • 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.

And then the entire population worshiped me like unto a god. Well, me and this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic