3.2.0

IE : e.parentNode is not an object

I have a grid that works just fine in Firefox, and it has some editable cells and some uneditable cells. When a user edits a value and submits it, AW validates the value and then I use an XMLHttpRequest to send a value to the server, which returns XML that describes all the resulting changes to the data displayed on the page. In IE, however, at some point that looks like it's during the XML processing of the response (didn't spend a lot of time debugging this), it gives an error:

e.parentNode is not an object

I tracked this down in aw.js (I have the full version) to this statement (line 32, I believe):
e.parentNode.scrollLeft=0

After glancing at properties on e, I went with the easiest solution and added this:
if(e.parentNode){e.parentNode.scrollLeft=0;}


This seems to make it work. Does anyone know what repercussions my simple hack might have?
James K
April 4,
Yes, this seem to be a bug in cell template code and your hack is a good way to fix it.
Alex (ActiveWidgets)
April 4,

This topic is archived.

See also:


Back to support forum