How to select and highlight a column in view-based tableView?

Viewed 115

I have set a view-based NSTableView's property allowsColumnSelection to YES.The default value is NO.

 self.tableView.selectionHighlightStyle = NSTableViewSelectionHighlightStyleRegular;
 self.tableView.allowsColumnSelection = YES;

I want showing blue background effect when I select a column.

blue background at selected column like this

0 Answers
Related