# Dash Ag-grid groupRows instead of creating new Group row

**URL:** <https://community.plotly.com/t/dash-ag-grid-grouprows-instead-of-creating-new-group-row/74033>\
**Category:** Dash Python\
**Created:** [March 31, 2023, 10:03pm UTC](https://community.plotly.com/t/dash-ag-grid-grouprows-instead-of-creating-new-group-row/74033 "2023-03-31T22:03:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davzup89](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@davzup89](https://community.plotly.com/u/davzup89)\
**Post date:** [March 31, 2023, 10:03pm UTC](https://community.plotly.com/t/dash-ag-grid-grouprows-instead-of-creating-new-group-row/74033/1 "2023-03-31T22:03:07Z")

</div>

Hi,

Is there a possibility to use groupDisplayType = ‘groupRows’ for AGgrid Enterprise users? This would be a great option.

> **[JavaScript Data Grid: Row Grouping - Group Rows](https://www.ag-grid.com/javascript-data-grid/grouping-group-rows/)**
>
> This section covers the Group Rows display type, where group rows are automatically added by the grid containing the
> row groups instead of group columns. Download v29 of the best JavaScript Data Grid in the world now.

also hiding open parents is a pretty cool feature in my opinnion.  
[groupHideOpenParents](https://www.ag-grid.com/javascript-data-grid/grouping-custom-group-columns/#custom-grouping-hidden-parents)

---

<div class="post-metadata">

**Author:** ![AnnMarieW](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@AnnMarieW](https://community.plotly.com/u/AnnMarieW)\
**Post date:** [March 31, 2023, 11:03pm UTC](https://community.plotly.com/t/dash-ag-grid-grouprows-instead-of-creating-new-group-row/74033/2 "2023-03-31T23:03:06Z")

</div>

Hi @davzup89

As you mentioned this is an AG Grid Enterprise feature. You can see an example of Row Grouping here:

> **[Dash AG Grid Enterprise Features](https://dashaggrid.pythonanywhere.com/enterprise/row-groupings)**
>
> Dash AG Grid documentation -- Alpha release

If you want to use groupDisplayType = ‘groupRows’ , you can include it in the `dashGridOptions` prop like this:

```auto
dag.AgGrid(    
    dashGridOptions={"groupDisplayType":'groupRows'},
    # other props    
)

```
