# ShowColumnSelector(Action<IEnumerable<SearchColumn>, int>, IEnumerable<SearchColumn>, Vector2, int)

> Opens an auxiliary column selector window to allow the user to search for a column to be added.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public static void ShowColumnSelector(Action<IEnumerable<SearchColumn>, int> columnsAddedHandler, IEnumerable<SearchColumn> columns, Vector2 mousePosition, int activeColumnIndex)
```

### Parameters

**** (\[Action\<IEnumerable\<SearchColumn>, int>]\(https\://learn.microsoft.com/dotnet/api/system.action-1)): Select handler invoked when columns are selected.**** (\[IEnumerable\<SearchColumn>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)): A set of existing columns. This set can help populate the column selector.**** (\[Vector2]\(/engine/6000.7/script-reference/unityengine/vector2)): Mouse position when the window needs to be opened.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Any active column index that we pass back to the select handler.

### Remarks

In example, the selected column could be added to an existing search property table.
