Highlighting search results in table
Highlighting search results in table
- Subject: Highlighting search results in table
- From: Grant Christensen <email@hidden>
- Date: Sun, 31 Jan 2010 00:42:39 +1000
Hi All,
I have a NSTableView bound to an array controller. I am using an NSSearchField to create a predicate for my search, and setting it on the array controller. All works perfect.
I was wondering if there is any simple way to actually highlight the portion of the text matching in the relevant rows in the table? I already check each cell to see if I ned to change its background colour to highlight an out of bounds style value on a numeric field, should I take a similar approach for my search fields? If so, how should I best implement it?
regards,
---
Grant Christensen
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden