On Aug 26, 2009, at 2:17 PM, PCWiz wrote:

How do I make it so that an NSTableView automatically scrolls to the bottom as new rows are added to it?

There is no automatic way; you have to add code to do it. You should probably only do it if the prior row was scrolled to the bottom.

[tableView scrollRowToVisible:[tableView numberOfRows] - 1];

--corbin
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to