Monday, 22 May 2017

Import library jqGrid wih Meteor (NPM)

I perfom a project with Meteor and I would like use free-jqgrid .

But I don't know how I can import this library correctly...

I was try :

  • import 'free-jqgrid';
  • import jqGrid from 'free-jqgrid';
  • import 'free-jqgrid/js/jquery.jqgrid.min';

In my code I use qGrid like this "Getting started" :

angular.element('#grid').jqGrid({
    colModel: [
// ...

And I get this error, on the client : Error: angular.element(...).jqGrid is not a function

Any kind of idea ? :-)

Many thanks.



via Aurélien

No comments:

Post a Comment