> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/togglegridselection.md).

# toggleGridSelection

Toggles the grid selection for a whole grid.

### Parameters

1. controlId - control id of the grid

### Example Usages

```javascript
   brixxApi.toggleGridSelection("myGrid");
```
