Comments (1)
Hello @ajitkayastha!
Thank you for opening this github issue.
You opened this issue in a legacy repository instead of the main one, which is why we've not responded to it earlier.
In the future, please illustrate your requirements with an example - this makes it much clearer.
Consider this example:
https://plnkr.co/edit/Ej2PYRuGf7GWiBMA?open=main.js
Note the country column has array values. If the grid groups in the way you've described this will result in the following resultset:
Bulgaria
John
Jamaica
Damien
United Kingdom
John
Peter
United States
Peter
Damien
However, this isn't a just grouping operation, this is a data transformation which unfolds the initial (condensed) dataset, and expands it into the following before grouping. The data transformation unfolds the dataset into this before grouping:
John Bulgaria
John United Kingdom
Peter United States
Peter United Kingdom
Damien Jamaica
Damien United States
The grid doesn't know the structure of your data. Making such a transformation involves making assumptions which the grid shouldn't be doing. The only way to implement this is for you to use the grid API, handle the rowGroupChanged and when the user is grouping by the COUNTRY column, expand (unfold) the dataset manually, then group by it, and when the user removes the COUNTRY column from the grouping to revert to the condensed (folded) dataset where instead of the 6 rows above with a single country value per row, you have 3 rows with 2 country values per row.
This is an application-level concern and you should implement this in your code as the grid cannot make assumptions about the structure of your data.
**In the future, please submit github issues in the main AG Grid repository:
https://github.com/ag-grid/ag-grid/issues
We will now close this issue and archive this repository soon to avoid any further confusion. If you want to open any new issues, please report them under the main repository to ensure they are processed promptly and seen by the entire AG Grid community.**
from ag-grid-enterprise.
Related Issues (20)
- Importing ag-grid-enterprise causes column definition comparators to be called with missing arguments. HOT 1
- group header display unexpected with both valueGetter and aggFunc HOT 1
- "beforeReady" prop HOT 1
- Is there any option to add multiple details grid under one master grid (Grouping -Master / Detail) ? HOT 1
- Server side row model grid is not emiting events with high number of total rows
- Link is Invalid HOT 1
- Blank filter rows are not rendered HOT 1
- ColumnsMenuTab Gets Removed After Refresh HOT 1
- FilterModel gets reset when user types case insensitive value HOT 1
- FillOperation callback should always be passed column and rowNode for current cell HOT 1
- FillOperation callback should be provided with the proposed new fill value HOT 1
- Uncaught Error: AG Grid - Illegal version string: 27.1.0 (RestoreChart) HOT 2
- Last sparkline tooltip renderer overrides others HOT 2
- Comparators not working as expected on grouped columns HOT 1
- when i am setting :rowData="rowData" in ag grid setRowData is not working and when removing :rowData="rowData" setRowData is working fine why HOT 1
- CSV Injection vulnerability HOT 1
- Upgrading to 28 not working with esbuild HOT 1
- Not Equals filter operation not working with tree data Ag Grid(27.3.0) HOT 1
- Custom Pagination serverside not working HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ag-grid-enterprise.