Why it error?

I don’t know why my code error?

----------------------------------------------------------------------



Untitled Document







        













Starting from dhtmlxgrid 1.6 the way to attach|detach event handlers was changed.
    dhtmlx.com/docs/products/dhtmlxG … _art_mig16

You need to use new syntax
    mygrid.attachEvent(“onCheckbox”,doOnCheck);
or include
    dhtmlxgrid/codebase/ext/dhtmlxgrid_deprecated.js
to be able to use old events syntax.