I have an editable parent grid with two linked grid detail components. One of the linked detail grids is also editable. I have placed code to automatically save the linked detail grid when any of the following four client-side events happen with the parent grid:
1) OnRowSelect
2) canGridSubmit
3) canRowSubmit
4) canPageNavigate

But I get the following error when I try to navigate to the next page in the parent grid:
rObj[i].getAttribute is not a function
http://localhost/javascript/a5-26563917.js
Line 302


How do I auto-save the data in the linked detail in all situations?