Header Views
Header Views
- Subject: Header Views
- From: Jon Hull <email@hidden>
- Date: Thu, 11 Dec 2003 13:09:37 -0800
I am building a custom view which is a lot like a NSTableView, except
it has a header on the side as well as the top (think spreadsheet). I
am using an NSMatrix subclass for the meat of the view. After reading
the documentation it seems that I can either fake out NSScrollView by
adding a -headerView message to my class, or more forcefully via the
-tile message. I will certainly need to use -tile for the
sideHeaderView. Anyway, It seems that the header of a table is not in
the document view of the scrollView, and thus it is not actually
scrolled.
My question is: Since the headerView is not scrolled by the scrollView,
how the heck does it scroll/sync with the tableView that does? Am I
completely off track here?
Thanks,
Jon
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.