try to use this library in the widget:
GitHub - vakata/jstree: jquery tree plugin
Getting error on the jstree is not a function.
the library is referenced int he index.html
<!-- JStree -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://community.esri.com//cdnjs.cloudflare.com/ajax/libs/jstree/3.3.8/themes/default/style.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/jstree/3.3.8/jstree.min.js"></script>
How to resolve this?
Thank you,