• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sorting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting


  • Subject: Re: Sorting
  • From: Robert Walker <email@hidden>
  • Date: Thu, 7 Jul 2005 08:52:25 -0400

I'm guessing you'll probably have to do this using the associated JTable, which you can get from EOTable to capture the mouse event and determine which column was clicked. Once you determine the column clicked then you can sort your EODisplayGroup. I'm pretty sure you'll have to accomplish this using Java Swing code, and provide outlets to the controls and objects that you need from the NIB.

I've not attempted to do this myself, but this is probably where I would start.

On Jul 7, 2005, at 1:49 AM, Ian Joyner wrote:

Has anyone had any experience sorting a table defined in Interface Builder for Java Client?

I want to be able to click on a table column heading and get the table sorted on that column, like many applications do. Setting the sort key and other information in the Attributes tab of the info window in Interface Builder does not seem to achieve this.

Do I have to write some code to sort an EODisplayGroup? If so, how do I determine when and which column has been selected.

Thanks
Ian Joyner
Sportstec
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Sorting (From: Ian Joyner <email@hidden>)

  • Prev by Date: url cheat sheet
  • Next by Date: Re: WO Builder Icons vs. Menues
  • Previous by thread: Sorting
  • Next by thread: [EXAMPLE] Easy RR loop debugging with Log4j
  • Index(es):
    • Date
    • Thread