title: AG-Grid tree data structure
body: <p>I am moving from kendo tree list to ag grid tree data grid. I have my table data in   below format. But Ag grid expect data in string array of nodes in tree. How can I use/customize below data with ag grid. </p>
  
  <pre><code>[  
     {  
        "fieldId":"A",
        "parentId":null,     
     },
     {  
        "fieldId":"B",
        "parentId":A,     
     },
     {  
        "fieldId":"C",
        "parentId":B,     
     },
  ]
  </code></pre>
  
  <p>I was able to create ag grid for only 1 level hierarchy using "getDataPath" like below but not able to understand how i can do for higher level hierarchy</p>
  
  <pre><code>this.getDataPath = function (data) {
      return [data.parentId, data.fieldId];
  };
  </code></pre>