skinnybrit51 / editable-grid

Bootstrap grid with CRUD functionality.
MIT License
30 stars 4 forks source link

Grid not working #105

Open RanbirNarang opened 6 years ago

RanbirNarang commented 6 years ago

The grid is not working with the following code and gives the error: Grid is not defined

`

<link href="Content/editable_grid.min.css" rel="stylesheet" />
<script src="Scripts/jquery-3.3.1.min.js"></script>
<script src="Scripts/bootstrap.min.js"></script>
<script src="Scripts/editable_grid.min.js"></script>

`
skinnybrit51 commented 6 years ago

Is $('#el') a valid jquery selection? EG Does your page have a tag with the id el? Have you followed the installation instructions from the npmjs page? https://www.npmjs.com/package/editable-grid

If you still have issues, please provide me with the html and css files. Thanks

landall commented 4 years ago

Is $('#el') a valid jquery selection? EG Does your page have a tag with the id el? Have you followed the installation instructions from the npmjs page? https://www.npmjs.com/package/editable-grid

If you still have issues, please provide me with the html and css files. Thanks

This error is because "new Grid" is not a Browser syntax without AMD.

landall commented 4 years ago

var grid = new Grid({ => var grid = new window.EditableGrid({