• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,

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.

thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic