# clearSelectedItems

Method which clears the selected items for the respective **GridTableView** client object. This method will clear the selected items from the table's child tables (meaningful in hierarchical grid only).

| **clearSelectedItems()** |
| ------------------------ |
|                          |

Example:

```JavaScript
function clearSelectedItems(sender, args) {
    var grid = $find("<%=RadGrid1.ClientID %>");
    var masterTableView = grid.get_masterTableView();
    masterTableView.clearSelectedItems();
}
```

> note  This method is only applicable when Row Selection of RadGrid is enabled.

```ASP.NET
<ClientSettings>
    <Selecting AllowRowSelect="true" />
</ClientSettings>     
```
