[Fxruby-users] Sorting an IconList
Status: Inactive
Brought to you by:
lyle
From: Jamey C. <jc...@tw...> - 2004-02-26 14:58:46
|
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. |