0

enter image description here

I use NSOutlineview to group a view(the view align left side of NSOutlineView), So I subclass the NSTableRowView as a view. then putting NSTextField for something control. But NSTextField can't work inside NSTableRowView.

Anyone can give me advice. Thank a lot.

Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140
CocoaUser
  • 1,361
  • 1
  • 15
  • 30
  • once you select the row, have you try pressing Tab? – Anoop Vaidya May 31 '13 at 03:55
  • Hi Anoop Vaidya, You are collect, I need to set the NSTableRowView can be selected, But I have to click twice at NSTextField that NSTextField is selected. How to solve the double click problem? thanks – CocoaUser May 31 '13 at 04:30
  • I using [outlineViw setSelectionHighlightStyle:NSTableViewSelectionHighlightStyleNone]; to solve this problem. thanks all. – CocoaUser May 31 '13 at 04:47

0 Answers0