# Using dash\_ag\_grid treeData without licenseKey for test

**URL:** <https://community.plotly.com/t/using-dash-ag-grid-treedata-without-licensekey-for-test/84820>\
**Category:** Dash Python\
**Created:** [May 29, 2024, 10:34am UTC](https://community.plotly.com/t/using-dash-ag-grid-treedata-without-licensekey-for-test/84820 "2024-05-29T10:34:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sta](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sta](https://community.plotly.com/u/Sta)\
**Post date:** [May 29, 2024, 10:34am UTC](https://community.plotly.com/t/using-dash-ag-grid-treedata-without-licensekey-for-test/84820/1 "2024-05-29T10:34:08Z")

</div>

HI,  
I’m trying to use dash\_ag\_grid with :  
dashGridOptions={“treeData”: True}  
enableEnterpriseModules=True,  
licenseKey = ‘’  
This gives a result without error, with columns but no data inside.

I’ve read it is possible to use this enterprise module in a development environment  
Any idea ?  
Thanks

---

<div class="post-metadata">

**Author:** ![jinnyzor](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jinnyzor/32/21194_2.png) [@jinnyzor](https://community.plotly.com/u/jinnyzor)\
**Post date:** [May 29, 2024, 11:02am UTC](https://community.plotly.com/t/using-dash-ag-grid-treedata-without-licensekey-for-test/84820/2 "2024-05-29T11:02:40Z")

</div>

Hello @Sta,

Welcome to the community!

In order to use treedata, you also need to give a getPath function, in which you tell the grid how each relates to the other.

---

<div class="post-metadata">

**Author:** ![Sta](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sta](https://community.plotly.com/u/Sta)\
**Post date:** [May 29, 2024, 11:52am UTC](https://community.plotly.com/t/using-dash-ag-grid-treedata-without-licensekey-for-test/84820/3 "2024-05-29T11:52:50Z")

</div>

hello,  
thanks for the answer

I’ve used getDataPath in dashGridOptions  
In fact I’ve copied the example [Tree Data | Dash for Python Documentation | Plotly](https://dash.plotly.com/dash-ag-grid/enterprise-tree-data#example:-organizational-hierarchy)  
and only replaced  
licenseKey =os.environ[‘AGGRID\_ENTERPRISE’]  
by licenseKey = ‘’

---

<div class="post-metadata">

**Author:** ![jinnyzor](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jinnyzor/32/21194_2.png) [@jinnyzor](https://community.plotly.com/u/jinnyzor)\
**Post date:** [May 29, 2024, 12:07pm UTC](https://community.plotly.com/t/using-dash-ag-grid-treedata-without-licensekey-for-test/84820/4 "2024-05-29T12:07:05Z")

</div>

Are you only using the example? Or have you tried integrating it with something?

What version of dag are you using?

---

<div class="post-metadata">

**Author:** ![Sta](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sta](https://community.plotly.com/u/Sta)\
**Post date:** [May 29, 2024, 12:17pm UTC](https://community.plotly.com/t/using-dash-ag-grid-treedata-without-licensekey-for-test/84820/5 "2024-05-29T12:17:14Z")

</div>

I’ve just install dag today so I think it’s the last version (Version: 31.2.0)

and just copy the example code.  
Her is the result :

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/9/3/9317996fb4eb2bb77eccce2e11dacab848d1b5af.png)

---

<div class="post-metadata">

**Author:** ![jinnyzor](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jinnyzor/32/21194_2.png) [@jinnyzor](https://community.plotly.com/u/jinnyzor)\
**Post date:** [May 29, 2024, 12:32pm UTC](https://community.plotly.com/t/using-dash-ag-grid-treedata-without-licensekey-for-test/84820/6 "2024-05-29T12:32:33Z")

</div>

Did you also do this part?

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/d/6/d65453c7fc4f9b87f636816c2a09950db240caee.png)

---

<div class="post-metadata">

**Author:** ![Sta](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sta](https://community.plotly.com/u/Sta)\
**Post date:** [May 29, 2024, 12:54pm UTC](https://community.plotly.com/t/using-dash-ag-grid-treedata-without-licensekey-for-test/84820/7 "2024-05-29T12:54:39Z")

</div>

Thank you very much,  
it was a mystake  
I’have forgotten the js file
