• 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
NSOutlineView: getting index of drawn row in outlineView:willDispayCell:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView: getting index of drawn row in outlineView:willDispayCell:


  • Subject: NSOutlineView: getting index of drawn row in outlineView:willDispayCell:
  • From: "Ilja A. Iwas" <email@hidden>
  • Date: Thu, 13 Jul 2006 14:46:03 +0200

Hi there,

depending on what row index is getting redrawn, I'd like to alter the appearance of the row. The outline view also contains smart groups, which cause the same items to be included at several different locations in the outline view simultaneously.

I'm altering the parameters of the cell in outlineView:willDisplayCell:forTableColumn:item:. Unfortunately I cannot use NSOutlineView's rowForItem: method, since it seems to return the any out of the rows for an item, which is not necessarily the row being redrawn.

Any ideas how I could determine the index of the redrawn row from inside the willDisplayCell delegate method?

Thanks,
Ilja

Ilja A. Iwas
email@hidden
http://www.iwascoding.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSOutlineView: getting index of drawn row in outlineView:willDispayCell:
      • From: James Bucanek <email@hidden>
  • Prev by Date: NSDocument and setFileName:
  • Next by Date: Odd redraw issue
  • Previous by thread: Re: NSDocument and setFileName:
  • Next by thread: Re: NSOutlineView: getting index of drawn row in outlineView:willDispayCell:
  • Index(es):
    • Date
    • Thread