Order of JList in QuickFilterPane

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.

Order of JList in QuickFilterPane

Postby mgunn0103 » Fri Apr 06, 2012 3:30 pm

Hello JIDE Support,

I am using the QuickFIlterPane along with a SortableTable. Is there anyway to disable or stop the sorting of the JList in the QuickFilterPane? The pane is being used to display dates. I would like to display these dates in descending order rather than ascending. Is this possible?

Thanks,

Marcus
mgunn0103
 
Posts: 5
Joined: Tue Dec 20, 2011 1:30 pm

Re: Order of JList in QuickFilterPane

Postby JIDE Support » Fri Apr 06, 2012 5:18 pm

The values displayed in the JLists are retrieved from FilterableTableModel's getPossibleValues method. So you can create your own FilterableTableModel by overriding createFilterableTableModel, then override getPossibleValues method to add your own sorting.
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: Order of JList in QuickFilterPane

Postby mgunn0103 » Fri Apr 27, 2012 4:43 pm

This solution worked out great! Thanks!
mgunn0103
 
Posts: 5
Joined: Tue Dec 20, 2011 1:30 pm


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

Who is online

Users browsing this forum: Baidu [Spider] and 9 guests