Action on Click on NSTableView

starlinstarlin DOMember, University ✭✭

Hello everyone,

Maybe is an obvious question, but i can't figure it out how to use a row click (no double click) event on a nstableview or nsoutlineview.

Thanks before all.

Posts

  • DavidLilleyDavidLilley USMember ✭✭✭

    There is no singleclick event, how you could create your own by subclassing NSTableView and override

    public override void MouseDown(NSEvent theEvent)

    Or as an alternative I guess what you really want to know if the row selected has changed... Subclass the delegate and override the follow SelectionDidChange(NSNotification notification)

Sign In or Register to comment.