# GridGroupingRowsDirective

Owns the binding(s) `[groupingRows], [groupToggle], [groupExpand], [groupCollapse]` on `<tbw-grid>` for the matching feature plugin. See `GridFilteringDirective` for the full rationale.

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `groupingRows` | <code>InputSignal&lt;<a href="/grid/angular/api/types/groupingrowsconfig/">GroupingRowsConfig</a> &#124; undefined&gt;</code> |  |
| `groupToggle` | <code>OutputEmitterRef&lt;<a href="/grid/plugins/grouping-rows/interfaces/grouptoggledetail/">GroupToggleDetail</a>&gt;</code> |  |
| `groupExpand` | <code>OutputEmitterRef&lt;<a href="/grid/plugins/grouping-rows/interfaces/groupexpanddetail/">GroupExpandDetail</a>&gt;</code> |  |
| `groupCollapse` | <code>OutputEmitterRef&lt;<a href="/grid/plugins/grouping-rows/interfaces/groupcollapsedetail/">GroupCollapseDetail</a>&gt;</code> |  |

## Methods

### ngOnInit()

A callback method that is invoked immediately after the
default change detector has checked the directive's
data-bound properties for the first time,
and before any of the view or content children have been checked.
It is invoked only once when the directive is instantiated.

```ts
ngOnInit(): void
```

***

### ngOnDestroy()

A callback method that performs custom clean-up, invoked immediately
before a directive, pipe, or service instance is destroyed.

```ts
ngOnDestroy(): void
```

***
