Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
neha priya
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!