NSOutlineView: getting index of drawn row in outlineView:willDispayCell:
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