Javascript component

Is it possible to use non vaadin component, like this with cuba?

Hi Pedro,

in fact there is the possibility to do this. Inn the docs you’ll find an overview article as well as an example for a javascript library.


Yes, you can integrate jstree into CUBA application. CUBA uses jquery 1.11.3 and jstree requires jquery 1.9.0 or greater, so it is compatible.
Follow this tutorial to integrate your component:

It seems that jstree features are the same as CUBA Tree, you can style CUBA Tree and add icons for items using IconProvider. So perhaps you don’t need to use jstree.