Re: Strange table view need... howto sensibly?
Re: Strange table view need... howto sensibly?
- Subject: Re: Strange table view need... howto sensibly?
- From: Daryn <email@hidden>
- Date: Tue, 30 Jul 2002 19:17:57 -0500
On Tuesday, July 30, 2002, at 12:36 PM, Ondra Cada wrote:
Now, here I don't know howto! Perhaps frameOfCellAtColumn:row: might be
useable to check whether a row is visible, and perhaps I might use
tableView:willDisplayCell:forTableColumn:row: to determine whether the
table is scrolling (for when scrolling ends, I'd have to invalidate the
table, so as the possible "ditto" value which might happened to be
scrolled into the topmost line from below is redrawn)... but it looks
like
an *extraordinarily* clumsy way...
Has anyone a better idea howto? Thanks,
You could use the following to determine the top displayed row:
[tableView rowAtPoint:NSMakePoint(0,NSMinY([tableView visibleRect]))];
Perhaps an overload of the table view's scroll view's
reflectScrolledClipView: could signal your controller to revalidate the
first row.
Daryn
_______________________________________________
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.