jQuery UI Widgets › Forums › Grid › checkbox problem .js
Tagged: grid
This topic contains 4 replies, has 2 voices, and was last updated by nostromo 6 years ago.
-
Authorcheckbox problem .js Posts
-
Dear, I have a checkbox in a grid, but something must be missing because it only works if I add:
<script type = “text / javascript” src = “/ jqwidgets / jqx-all.js”> </ script>
using these .js does not work. What will I lack? In the examples of the site I do not see any that I do not have.
use jQWidgets v6.1.0
<link rel = “stylesheet” href = “/ jqwidgets / styles / jqx.base.css” type = “text / css” />
<script type = “text / javascript” src = “/ jquery / jquery-3.2.1.min.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxcore.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxdata.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxbuttons.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxscrollbar.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxmenu.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxcheckbox.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxlistbox.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxdropdownlist.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxgrid.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxgrid.edit.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxgrid.selection.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxgrid.columnsresize.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxgrid.filter.js”> </ script>
<script type = “text / javascript” src = “/ jqwidgets / jqxnumberinput.js”> </ script>This is the error:
jquery-3.2.1.min.js:2 Uncaught TypeError: this.isMaterialized is not a function
at b.(anonymous function).render (http://slayer.inia.cl/jqwidgets/jqxcheckbox.js:8:3986)
at b.(anonymous function).createInstance (http://slayer.inia.cl/jqwidgets/jqxcheckbox.js:8:749)
at Object.a.jqx.applyWidget (jqxcore.js:14)
at HTMLDivElement.<anonymous> (jqxcore.js:14)
at Function.each (jquery-3.2.1.min.js:2)
at r.fn.init.each (jquery-3.2.1.min.js:2)
at r.fn.init.a.fn.(anonymous function) [as jqxCheckBox] (http://slayer.inia.cl/jqwidgets/jqxcore.js:14:67439)
at b.(anonymous function)._rendercheckboxcell (http://slayer.inia.cl/jqwidgets/jqxgrid.js:7:162442)
at _rendercell (jqxgrid.js:7)
at b.(anonymous function)._rendervisualcell (http://slayer.inia.cl/jqwidgets/jqxgrid.js:7:156004)Probe with version 5.6.0 of jqwidgets and it works without problems,
it seems that the problem is with version 6.1.0I would suggest you using 6.1.0 and ensure that all files are from 6.1.0. isMaterialized is defined in jqxcore.js. If that is the exception which you receive then it means that jqxcore.js is not from the same version. Two things are possible here: The file is cached and this could be fixed by clearing the browser’s cache or the file is not referenced correctly i.e either it’s missing or an older version is referenced.
Regards,
PeterThe problem was the chrome cache.
Thank you
-
AuthorPosts
You must be logged in to reply to this topic.