I am developing an application in cocoa which needs to select an item by clicking a check box inside a NSTableview.I need to select the cell without highlighting the row of table view Is it possible to do this... Thanks in advance
NSTableView
has a method called setSelectionHighlightStyle:
to which you can send NSTableViewSelectionHighlightStyleNone
as an option and it will not show a highlight.
So, in awakeFromNib:
or similar:
[tableView setSelectionHighlightStyle:NSTableViewSelectionHighlightStyleNone];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With