Instance Method

tableView:shouldTypeSelectForEvent:withCurrentSearchString:

Asks the delegate to allow or deny type select for the specified event and current search string.

Declaration

- (BOOL)tableView:(NSTableView *)tableView shouldTypeSelectForEvent:(NSEvent *)event withCurrentSearchString:(NSString *)searchString;

Parameters

tableView

The table view that sent the message.

event

The event.

searchString

The search string or nil if no type select has began.

Return Value

YES to allow type select for event, NO otherwise.

Discussion

Typically, this is called from the NSTableView keyDown: implementation and the event will be a key event.

See Also

Selecting Rows

- selectionShouldChangeInTableView:

Asks the delegate if the user is allowed to change the selection.

- tableView:shouldSelectRow:

Asks the delegate if the table view should allow selection of the specified row.

- tableView:selectionIndexesForProposedSelection:

Asks the delegate to accept or reject the proposed selection.

- tableView:shouldSelectTableColumn:

Asks the delegate whether the specified table column can be selected.

- tableViewSelectionIsChanging:

Tells the delegate that the table view’s selection is in the process of changing.

- tableViewSelectionDidChange:

Tells the delegate that the table view’s selection has changed.

- tableView:typeSelectStringForTableColumn:row:

Asks the delegate to provide an alternative text value used for type selection for the specified row and column.

- tableView:nextTypeSelectMatchFromRow:toRow:forString:

Asks the delegate for the row within the specified search range that matches the specified string.