I’m having an error when calling clearAndLoad in a grid after an AjaxPost. Specific error is
TypeError: tagName is undefined
if(temp.length==0 && tagName.indexOf(":")!=-1)
This happens when I update or delete one row and then load the data again from Server. If I add new records I have no problem.
On first run rows are loaded correctly. ClearAndLoad calls the same script to load rows. After error occurs, clearAndLoad stops working even on adding rows operations. Data is being updated correctly in the database.
clearAndLoad works correctly when adding or modifying a row. But if you try to delete one, you get the error I’ve mentioned before, even though data is correctly deleted.
I’ve solved this in my current project by reconstructing the grid every time I delete a row, but I guess that isn’t the best solution.