Home Do we have any hack/approach for showing a column with showRowGroup=true when ag-grid is in pivot mode?
Reply: 0

Do we have any hack/approach for showing a column with showRowGroup=true when ag-grid is in pivot mode?

HARSHA LANKA
1#
HARSHA LANKA Published in 2017-11-14 16:27:21Z

I have a below column definitions:

{headerName: 'Country Group - No Renderer', field:'year', showRowGroup: 'year'},
{headerName: "Country", field: "country", width: 120, rowGroup: true},
{headerName: "Year", field: "year", width: 90, rowGroup: true},
{headerName: "Gold", field: "gold", width: 100, aggFunc: 'sum'},
{headerName: "Silver", field: "silver", width: 100, aggFunc: 'sum'},
{headerName: "Bronze", field: "bronze", width: 100, aggFunc: 'sum'}

Is there any way to show 'Country Group - No Renderer' column left to the auto grouped column along with aggregated columns when grid is in pivot mode?

Is there any possibility that we can achieve this with InMemoryModel?

Note: I am beginner to ag-grid and just now started playing with it.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.306671 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO