Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested data for Tree data #7969

Closed
sachh185 opened this issue May 15, 2024 · 2 comments
Closed

Nested data for Tree data #7969

sachh185 opened this issue May 15, 2024 · 2 comments

Comments

@sachh185
Copy link

sachh185 commented May 15, 2024

I'm submitting a ... (check one with "x")

[] bug report => see 'Providing a Reproducible Scenario'
[] feature request => do not use Github for feature requests, see 'Customers of AG Grid'
[x] support request => see 'Requesting Community Support'

Hello,
I have a data structure like this:

const rowData = [
  {
    location: "United States",
    gold: 200,
    silver: 100,
    children: [
      {
        location: "New York",
        gold: 80,
        silver: 40,
      },
      {
        location: "Chicago",
        gold: 120,
        silver: 60,
      },
    ],
  },
  {
    location: "Australia",
    gold: 150,
    silver: 80,
    children: [
      {
        location: "Sydney",
        gold: 100,
        silver: 60,
      },
      {
        location: "Melbourne",
        gold: 50,
        silver: 20,
      },
    ],
  },
];

Is this supported by tree data in ag-grid? Or does it only support flat arrays?

@AG-Zoheil
Copy link

Hi

Thank you for submitting this on Github.

As this has been open without any further interaction for a while, I will be closing this issue.

If the issue has already been resolved by other means, you can ignore this. If however, you are still in need of support you can choose to raise the issue again for the AG Grid community to support.

Kind regards,
Zoheil

@praveenkumar91
Copy link

Hi team,

I also have the same requirement. Is this not supported by aggrid ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants