how to add sortChanged/sortChanging listener

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.

how to add sortChanged/sortChanging listener

Postby dhanush » Thu Jul 17, 2008 5:31 am

hi,
i have treetable, wher i need to add sorting action listener.
please help me

thanks
dhanush
dhanush
 
Posts: 107
Joined: Wed Mar 29, 2006 2:26 am

Postby JIDE Support » Thu Jul 17, 2008 7:18 am

It will be SortableTreeTableModel#addSortListener. If you call treeTable.getMode(), most likely it will return you an instance of SortableTreeTableModel unless you use filtering as well.

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

Thank you

Postby dhanush » Fri Jul 18, 2008 3:46 am

Thanks i was able set listener in same way

Dhanush
dhanush
 
Posts: 107
Joined: Wed Mar 29, 2006 2:26 am


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

Who is online

Users browsing this forum: No registered users and 83 guests