I hope to disable NSTableView row double click and forbid row item edit.
Is it possible to disable NSTableView row double click?
Welcome any comment
Try including this method and return NO:
- (BOOL)tableView:(NSTableView *)aTableView
shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex {
return NO;
}
Also check out the documentation for NSTableView
.
.
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