Re: Stop NSTableColumn from being dragged, and from changing position (like iTunes)
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