# ITableView

> Table view interface.

## Definition

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

```csharp
public interface ITableView
```

## Properties

| Property                                                                              | Description                                        |
| ------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [context](/engine/6000.6/script-reference/unityeditor/search/itableview/context.md)   | Returns the search context driving the table view. |
| [readOnly](/engine/6000.6/script-reference/unityeditor/search/itableview/readonly.md) | Invoked to check if the table view is read-only.   |

## Methods

| Method                                                                                                    | Description                                                                     |
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| [AddColumn](/engine/6000.6/script-reference/unityeditor/search/itableview/addcolumn.md)                   | Invoked when the table view need to add a new column at a specific location.    |
| [AddColumns](/engine/6000.6/script-reference/unityeditor/search/itableview/addcolumns.md)                 | Invoked when a set of columns are inserted.                                     |
| [GetColumns](/engine/6000.6/script-reference/unityeditor/search/itableview/getcolumns.md)                 | Invoked when the table needs to get the list of columns to be displayed.        |
| [GetElements](/engine/6000.6/script-reference/unityeditor/search/itableview/getelements.md)               | Invoked when the property table needs all view elements not necessarily sorted. |
| [GetRows](/engine/6000.6/script-reference/unityeditor/search/itableview/getrows.md)                       | Invoked when the property table needs all search items sorted.                  |
| [GetSearchTable](/engine/6000.6/script-reference/unityeditor/search/itableview/getsearchtable.md)         | Invoked to get the table configuration.                                         |
| [OnItemExecuted](/engine/6000.6/script-reference/unityeditor/search/itableview/onitemexecuted.md)         | Invoked when the user double click on a search item row.                        |
| [OpenContextualMenu](/engine/6000.6/script-reference/unityeditor/search/itableview/opencontextualmenu.md) | Invoked when the user opens a contextual menu on the selected search item row.  |
| [RemoveColumn](/engine/6000.6/script-reference/unityeditor/search/itableview/removecolumn.md)             | Invoked when a column gets removed.                                             |
| [SetDirty](/engine/6000.6/script-reference/unityeditor/search/itableview/setdirty.md)                     | Invoked when the table view gets dirty.                                         |
| [SetSelection](/engine/6000.6/script-reference/unityeditor/search/itableview/setselection.md)             | Invoked when the table view selection has changed.                              |
| [SetupColumns](/engine/6000.6/script-reference/unityeditor/search/itableview/setupcolumns.md)             | Invoked when columns are being intialized.                                      |
| [SwapColumns](/engine/6000.6/script-reference/unityeditor/search/itableview/swapcolumns.md)               | Invoked when two columns are being swapped.                                     |
