Skip to content

Render tree data that contains children nodes #1394

Description

@azuddin

Hi all, is it possible to render this data set in react table? I cannot find any good example on how to render data recursively and having like tree structure. Really appreciate for the helps

{  
  id: 1,
  name: "Ian",
  children: [
      { id: 2, name: "Max" },                        > Ian
      {                                                  > Max
         id: 3,                                          > Mike
         name: "Mike",                      --->             > Test
         children: [                                         > Test 8
           { id: 7, name: "Test" },                          > Test 10
           { id: 8, name: "Test 8" },                    > John
           { id: 10, name: "Test 10" }
         ]
      },
      { id: 4, name: "John" }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions