My editable table is throwing an error when running in IE8 pointing to the line 1274
var widgets = dijit.findWidgets(table)
with the error "object doesn't support this property or method".
Oddly though this is not preventing the code working in FF.
Any thoughts?
var widgets = dijit.findWidgets(table)
with the error "object doesn't support this property or method".
Oddly though this is not preventing the code working in FF.
Any thoughts?
RE: Error in editaabletable.js when running on IE8 but not FF6
Having looked into this error a bit, it seems to only occur if you have an editable table on a partial page, and neither the partial page or full page contain any dojo widgets. (eg filtering select or currency textbox).
To stop the error occurring, the easiest option is to add an onbeforeload event to the partial page to require some dijit code so that the dijit.findWidgets function will be initialised.
eg dojo.require('dijit.form.TextBox')
I hope this helps,
Gerard