Stop NSTableColumn from being dragged, and from changing position (like iTunes)
Stop NSTableColumn from being dragged, and from changing position (like iTunes)
- Subject: Stop NSTableColumn from being dragged, and from changing position (like iTunes)
- From: "Simon Liu" <email@hidden>
- Date: Sun, 21 May 2006 14:34:29 +0100
I can (1) prevent table column X from being dragged, but cannot (2)
prevent other columns which are draggable from moving to a position
which can cause column X to change position.
An example of this is iTunes, where the status and title columns in
the Library are not draggable, and other columns cannot cause them to
change position.
Any clues on (2)? It's possible to override NSTableViews'
moveColumn:toColumn: but this leaves huge drawing artifacts. I have
also used classdump to examine NSTableHeaderView but haven't found
anything prevent dragging to certain column indexes.
Regards,
Simon
_______________________________________________
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