Normally when one adds the first row to a NSTableView, it will appear at the 
top of the view and additional rows will appear below it. Is it possible to 
have the first row appear at the bottom of the NSTableView and for new rows to 
appear above it?

No doubt this would require some extensive customization. I am open to 
alternative solutions, but the one invariant will remain…first row at the 
bottom and additional rows appearing above.

I could fake it by creating a large enough number of rows so the view is filled 
and setting the scroll position to the bottom, but I find that to be a bit 
inelegant…although, I would go that route before doing something completely 
custom.

If you are wondering why someone might need such a thing, consider the case of 
a calculator where the most common way to view the numbers (at least for RPN 
entry) is for the most recent entry or calculation is to appear at the bottom 
and previous entries to appear above it.



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to