• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange table view need... howto sensibly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Strange table view need... howto sensibly? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Accessor methods and (auto)release <Memory trail>
  • Next by Date: Re: Who is releasing my CFAllocator?
  • Previous by thread: Strange table view need... howto sensibly?
  • Next by thread: Append String To File
  • Index(es):
    • Date
    • Thread