# SetupColumns(IEnumerable<SearchItem>)

> Invoked when columns are being intialized.

## Definition

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

```csharp
void SetupColumns(IEnumerable<SearchItem> elements = null)
```

### Parameters

**** (\[IEnumerable\<SearchItem>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)): Sets of item for which columns are being displayed.
