NSTableView -- possible to override autoscroll behavior?
NSTableView -- possible to override autoscroll behavior?
- Subject: NSTableView -- possible to override autoscroll behavior?
- From: David Hendrix <email@hidden>
- Date: Fri, 11 Nov 2005 12:02:46 -0800
I've got an NSTableView that displays (via bindings) data from an
NSMutableArray. The application frequently appends data to the bound
array.
The problem is that if the user has selected a row in the table, but
has scrolled so that the selected data is no longer visible, when the
application updates the array it causes the display to auto-scroll so
that the selected line is once again on screen. This is pretty
frustrating to users, especially since new data can arrive at any time.
Is there any way of disabling this feature short of subclassing
NSTableView and overriding the autoscroll method it inherits from
NSView? Will simply replacing this method with one that always
returns "NO" cause other things to break?
- Dave
_______________________________________________
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