• 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: NSTableView and NSArrayController: modifying values does not change sort order
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView and NSArrayController: modifying values does not change sort order


  • Subject: Re: NSTableView and NSArrayController: modifying values does not change sort order
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Fri, 17 Sep 2004 14:55:16 +0200

At 17:37 Uhr -0700 16.09.2004, Matt Neuburg wrote:
On Thu, 16 Sep 2004 21:15:11 +0200, Frederick Cheung <email@hidden> said:
If I click in a column header then the tableview sorts the data as it
should, but if I modify one of the values (via the text fields or
directly editing the table) the  data isn't resorted.

You always know (or can arrange to know) when the content changes, so if you want to resort when it does, you can. m.

One suggestion: Make it slightly delayed, using a Timer, so if your users want to edit three items in a row they don't have to scroll back each time. It should also *not* re-sort at all while an item is being edited.


So, in my ideal world:

-> User edits entry
-> Timer is installed to fire in 2 seconds and re-sort the list
-> User starts editing another entry
-> Timer is paused
-> User finishes editing entry
-> Timer is un-paused and reset to fire in 2 seconds and re-sort the list
-> 2 seconds pass without the user editing or causing a re-sort by clicking the headers
-> The list is re-sorted


IMHO this is better than what the Finder does, where you have items that jump away because of re-sorting just when you want to click one.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: NSTableView and NSArrayController: modifying values does not change sort order
      • From: Frederick Cheung <email@hidden>
References: 
 >Re: NSTableView and NSArrayController: modifying values does not change sort order (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: The invisible file in Macintosh?
  • Next by Date: Re: OpenGL accumulator issue
  • Previous by thread: Re: NSTableView and NSArrayController: modifying values does not change sort order
  • Next by thread: Re: NSTableView and NSArrayController: modifying values does not change sort order
  • Index(es):
    • Date
    • Thread