• 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: Stop NSTableColumn from being dragged, and from changing position (like iTunes)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stop NSTableColumn from being dragged, and from changing position (like iTunes)


  • Subject: Re: Stop NSTableColumn from being dragged, and from changing position (like iTunes)
  • From: Conor Dearden <email@hidden>
  • Date: Sun, 21 May 2006 17:48:52 +0200

Use the delegate of the NSTableView to implement:

- (void)tableViewColumnDidMove:(NSNotification *)aNotification

The notification has an NSOldColumn and NSNewColumn you can use to switch
the columns back and reload the table, it happens so fast it's like the
users drops the column before the title but it doesn't move there. You can
choose to notify the users that is not possible or just simply place it at
the first position it can go in your implementation.

Regards,
Conor
http://www.bruji.com/



 _______________________________________________
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: Stop NSTableColumn from being dragged, and from changing position (like iTunes)
      • From: "Simon Liu" <email@hidden>
  • Prev by Date: Re: determine if file is package
  • Next by Date: Re: NSAppleScript not in the main thread
  • Previous by thread: Bounds resizing
  • Next by thread: Re: Stop NSTableColumn from being dragged, and from changing position (like iTunes)
  • Index(es):
    • Date
    • Thread