Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Grace on Dec 17, 2009 11:51
open dhtmlx forum
dhtmlxGrid

I got 'this.pgn_templateA' is null or not an object when I tried to delete a row in dhtmlxGrid. Can someone please tell me why and how to fix it? It did delete the row, but the error stopped the script.

I got the error no matter I did it this way,

var selId = gridUser.getSelectedId();
gridUser.deleteRow(selId);

or,
gridUser.deleteSelectedRows();

I got the same error when I tried to add a row.

Thanks so much!
Answer posted by dhxSupport on Dec 18, 2009 02:37
Unfortunately we cannot reproduce this issue locally. Please provide us complete example where we can reproduce it (you can send such example directly to the support@dhtmlx.com)