JQuery not defined throwing error after installing angular-slickgrid

0 votes

First let me clear one thing I have gone though https://github.com/ghiscoding/angular-slickgrid/wiki/HOWTO---Step-by-Step and followed each step which is mandatory required. Anyhow let me show you what step i have followed

  1. Installed angular slickGrid npm i angular-slickgrid

  2. Added required css and js in angular.json

    "node_modules/bootstrap/dist/css/bootstrap.css",
    "node_modules/font-awesome/css/font-awesome.css",
    "node_modules/flatpickr/dist/flatpickr.css",
    "node_modules/angular-slickgrid/lib/multiple-select/multiple-select.css",
    "styles.css"
],
"scripts": [
    "node_modules/jquery/dist/jquery.js",
    "node_modules/jquery-ui-dist/jquery-ui.min.js",
    "node_modules/slickgrid/lib/jquery.event.drag-2.3.0.js",
    "node_modules/bootstrap/dist/js/bootstrap.js",
    "node_modules/angular-slickgrid/lib/multiple-select/multiple-select.js"
],
  1. imported AngularSlickgridModule in app.module.ts properly

    imports: [ AngularSlickgridModule.forRoot() ]

  2. already i have installed required package for angular slickgrid

    package.json

  "@angular/animations": "^9.1.9",
  "@angular/cdk": "^9.2.4",
  "@angular/compiler": "^9.1.9",
  "@angular/material": "^9.2.4",
  "@angular/platform-browser": "^9.1.9",
  "@angular/platform-browser-dynamic": "^9.1.9",
  "@angular/router": "^9.1.9",
  "bootstrap": "^4.4.1",
  "font-awesome": "^4.7.0",
  "@types/jquery": "^3.3.38",
  "jquery": "^3.3.1",
  "@ngx-translate/core": "^12.1.2",
  "@ng-bootstrap/ng-bootstrap": "^6.1.0",

Jul 20, 2022 in Web Development by gaurav
• 23,260 points
977 views
i am facing same issue, did you find any solutions?

1 answer to this question.

0 votes

1. Your CDN-hosted jQuery might be blocked

If you are using a CDN-hosted version of jQuery such as Google’s Hosted Libraries, these CDNs might be blocked by a filter or proxy service on your customers’ connection. We typically see this issue with requests originating from Chinese or Indonesian IP addresses.

2. Your CDN-hosted jQuery is down or timing out

Another common example of this bug is when the CDN hosting your jQuery script is unreliable or slow to load. Browsers typically have a timeout of around 20-30 seconds for each script tag.

answered Jul 25, 2022 by rajatha
• 7,680 points

Related Questions In Web Development

0 votes
1 answer

NameError: name '_' is not defined

Hello, Just include this in you snippet: from django.utils.translation ...READ MORE

answered Aug 3, 2020 in Web Development by Niroj
• 82,880 points
2,503 views
0 votes
1 answer

Error: Failed to load resource: the server responded with a status of 404 (Not Found)

Your files are not under the JSP folder that's ...READ MORE

answered Dec 16, 2020 in Web Development by Gitika
• 65,910 points
87,297 views
0 votes
1 answer

Loading gif in jQuery ajax call is not showing

Create a div with your image. Make it ...READ MORE

answered Jun 27, 2022 in Web Development by rajatha
• 7,680 points
1,346 views
0 votes
1 answer

Error: cannot call methods on button prior to initialization; attempted to call method 'loading'

Hii @kartik, It's caused by jquery-ui and bootstrap-button ...READ MORE

answered May 12, 2020 in JQuery by Niroj
• 82,880 points
5,723 views
0 votes
1 answer

How to set jquery input select all on focus?

Hello @kartik, Try using click instead of focus. It seems to ...READ MORE

answered Nov 24, 2020 in JQuery by Niroj
• 82,880 points
4,171 views
0 votes
1 answer

How to make $.post() use contentType=application/json in jquery?

Hii, Try this: $.ajax({ url:url, type:"POST", ...READ MORE

answered Nov 24, 2020 in JQuery by Niroj
• 82,880 points
10,082 views
0 votes
1 answer

How to add a “readonly” attribute to an <input>?

Hello, For jQuery <1.9 $('#inputId').attr('readonly', true); ...READ MORE

answered Nov 24, 2020 in JQuery by Niroj
• 82,880 points
1,461 views
0 votes
1 answer

Jquery pickatime, Drop down window not closing after on change event

Maybe your input element falls within label ...READ MORE

answered Aug 2, 2022 in Web Development by rajatha
• 7,680 points
402 views
0 votes
1 answer

jquery - is not a function error

In Wordpress jQuery.noConflict() is called on the jQuery file ...READ MORE

answered Aug 4, 2022 in Web Development by rajatha
• 7,680 points
537 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP