# DkGridRowGrouping

## Generics

<mark style="color:green;">`<T>`</mark> represents the object's shape coming from the data source.

## Methods

| Method               | Description                                                                                                                                                                                            |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `clearRowGrouping()` | <p>It moves all the columns from the group panel to the center panel.<br></p><p><strong>Params</strong>: None.</p><p><strong>Return</strong>: <mark style="color:green;"><code>void</code></mark>.</p> |

## Events

| Event                     | Description                                                                                                                                                                                                                                                                                          |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `groupPanelColumnsChange` | <p>It emits when the user moves a column to, from, or inside the group panel. This event sends all the resulting columns after the movement.<br></p><p><strong>Params</strong>: None.</p><p><strong>Return</strong>: <mark style="color:green;"><code>Observable\<DkColumnDef\[]></code></mark>.</p> |
| `collapseGroupRowChange`  | <p>It emits when the user opens or closes a group row.<br></p><p><strong>Params</strong>: None.</p><p><strong>Return</strong>: <mark style="color:green;"><code>Observable\<DkGroupRowCollapseEvent\<T>></code></mark>.</p>                                                                          |
