removing custom from AutoFilterTableHeader

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

removing custom from AutoFilterTableHeader

Postby san4net » Thu Apr 14, 2011 6:35 am

when we use AutoFilterTableHeader we get custom as filter on every column header.

My requirement is that i want the custom filter to be removed from every column header please advice
san4net
 
Posts: 4
Joined: Wed Apr 13, 2011 7:11 am

Re: removing custom from AutoFilterTableHeader

Postby JIDE Support » Thu Apr 14, 2011 9:46 am

Please override AutoFilterTableHeader#customizeAutoFilterBox(). After calling super, please invoke AutoFilterBox#setAllowCustomFilter(false).

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: removing custom from AutoFilterTableHeader

Postby Praktikant » Fri Nov 04, 2011 5:10 am

According to this.

Can I use Custom filter Dialog with Multiple Value Selection?

Or, how can I add the Custom dialog to a button?

Thanks
Praktikant
 
Posts: 13
Joined: Thu Oct 06, 2011 11:17 pm

Re: removing custom from AutoFilterTableHeader

Postby JIDE Support » Fri Nov 04, 2011 7:05 am

Depends on if you are using native renderer, AutoFilterBox or BasicAutoFilterTableHeaderUIDelegate is one of two classes that you need to override. Please override the method createCheckBoxListChooserPanel(). After calling super to get a panel, please get a ButtonPanel from its child components. Add a button to the ButtonPanel and let its action listener invoke the method showCustomFilterEditor().

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: removing custom from AutoFilterTableHeader

Postby Praktikant » Mon Nov 07, 2011 1:00 am

Could you give me an example code? I dont know where override AutoFilterBox, and I dont know how to associate to a button.

Thanks.
Praktikant
 
Posts: 13
Joined: Thu Oct 06, 2011 11:17 pm

Re: removing custom from AutoFilterTableHeader

Postby Praktikant » Mon Nov 07, 2011 7:37 am

I have seen an example in AutoFilterTreeTableDemo.java

Thanks!
Praktikant
 
Posts: 13
Joined: Thu Oct 06, 2011 11:17 pm


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: Google [Bot] and 12 guests