PDA

View Full Version : Load 3rd party library



rhvt
25 Apr 2016, 11:42 PM
Hello, I'm currently working on a project which uses Ext JS 4.2. I'd like to import a 3rd party library (plotly.js) but I'm not understanding how to make it work (I'm a total beginner).

According to this post : https://www.sencha.com/blog/integrating-ext-js-with-3rd-party-libraries-2/

I should add my library into an HTML file, I haven't any HTML file, at start the application open a window called "Main" which immediatly renders a panel.

I've also read about Ext.Loader but I can't figure how to make it works.

Thanks in advance for your concern

jdkhamba
27 Apr 2016, 7:13 AM
This post should get you started:

https://www.sencha.com/forum/showthread.php?309992-ExtJS-4.2.5-How-to-include-script-in-a-html-container

In this the OP was trying to load visjs, a third party library. You can do the same with any third party library.

rhvt
27 Apr 2016, 7:15 AM
thanks for your answer it seems to be a good point to start