when I use these code
/* var hot=$("#example").handsontable({
data: data,
minSpareRows:5,
minCols:26,
minRows:10,
colWidths:250,
//autoColumnSize:true,
rowHeaders: true,
colHeaders: true
});*/
it can working
but where I use the other code
var hot = new Handsontable(document.getElementById(‘example’),{data:data});
,it can’t work,and tell me “TypeError: Handsontable is not a constructor”,why?