Webix is not defined

Hi,

I am using below code for initialization . It keeps on giving me same error in console .Webix is not defined.

Any particular reason causing this. Please find below code snippiest. Plese let me know if you have any solution for this .

Thanks and Regards,
Priyatama B

please include your code in webix.ready(function () { …});

webix.ready(function(){
    //object constructor
    webix.ui({
        view:"spreadsheet",
        //loaded data object
        data: base_data,
		container:"webixsheetCx"
    });
});

this is how my code is, it keeps on giving me webix not defined

Hey @priyatama, I don’t see any snippet/code you’ve tried to include. Could you please provide a link to your snippet so we can try and help you out?

But overall, the reasons you’re getting this error might be as follows:

  1. You are linking webix via <script> tag, in this case please ensure via devtools that your webix.js did get properly linked.
  2. You are using some sort of framework and are trying to import webix.js, in this case we would need an example of you trying to import the library.

if you are using webpack, this may help you
https://forum.webix.com/discussion/35526/webix-6-and-importing