Re: [Fxruby-users] Sorting an IconList
Status: Inactive
Brought to you by:
lyle
From: Jamey C. <jc...@tw...> - 2004-03-02 01:21:44
|
I'm bumping this message in the hopes that someone who can shed some light on it maybe missed it the first time around. Thanks. Jamey Jamey Cribbs wrote: > Sorry if this question has been answered. I googled but did not find > anything... > > I'm trying to sort an IconList by the column that is clicked when the > user clicks a column header. > > If I use the sortItems method, it just sorts by the first column. > > I tried using sort_by: > > @iconlist.sort_by {|item| item.getText.split("\t")[@clickedColumn]} > > But that didn't do anything. > > Is there a way to sort the IconList by anything other than the first > column? > > Thanks. > > Jamey Cribbs > > > > Confidentiality Notice: This email message, including any attachments, > is for the sole use of the intended recipient(s) and may contain > confidential and/or privileged information. If you are not the > intended recipient(s), you are hereby notified that any dissemination, > unauthorized review, use, disclosure or distribution of this email and > any materials contained in any attachments is prohibited. If you > receive this message in error, or are not the intended recipient(s), > please immediately notify the sender by email and destroy all copies > of the original message, including attachments. > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users > |