:: Forum >>
Error when deleting a row with && or # in table
I have a table where some columns have # (as in #121) or & (as in A&B company). I noticed that when deleting the row with A&B company, I have no problem at all. However, deleting the row with #121 or A&&B, A@B etc result in the error message:
data[...] is null or not an object.
My current code reads as:
data.deleteRow(data.getCurrentRow());
data.refresh();
I displayed the data in the column that has the special characters using:
alert("column 1="+data.getCellText(0,viewDataGrid.getCurrentRow()));
for A&B - alert shows A&B
for #121 - alert shows #121
for A&&B - alert shows A&&B
Hope someone can help.
ay
Thursday, June 19, 2008
Typo in the earlier post. The alert reads:
alert("column 1="+data.getCellText(0,data.getCurrentRow()));
ay
Thursday, June 19, 2008
This topic is archived.
Back to support forum
Forum search