Instance Method

tableView:shouldEditTableColumn:row:

Asks the delegate if the cell at the specified row and column can be edited.

Declaration

- (BOOL)tableView:(NSTableView *)tableView shouldEditTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row;

Parameters

aTableView

The table view that sent the message.

aTableColumn

The table column.

rowIndex

The row index.

Return Value

YES to allow editing the cell, NO to deny editing.

Discussion

The delegate can implement this method to disallow editing of specific cells.