var row = new Object();row['fieldname'] = strarray[i];......$('#dataGridDetail').datagrid('appendRow', row);