Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

table view sorting and list



Hi All,
Another sorting and dates question. I have a table view with several columns that sort, names, dates (which sort according to another hidden column of date strings) and numbers. The sort column is set to the date column. the table is populated by a list called theData. When I launch app a dialog displays a certain list of names and dates derived from theData , but they are not sorted by the date as they are in the table. If you sort the table then quit, and the handler sets theData to contents of every row of theDataSource , wouldn't theData reflect that new order on next launch? How does one get the data to reflect the sorted nature of the table? I suppose I could sort theData list itself with a sort handler but it seems there should be a more built in way. thanks Rob D


on should quit after last window closed theObject
set theData to contents of every data cell of every data row of theDataSource
delete every data row of theDataSource
writeFile(theData) -- stores the data for next time
return true
end should quit after last window closed


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.