Update the specified row. The param parameter contains the following characteristics:
index: The index of the updated row.
row: new data for the row.
var grid = $("#QualityAdd").datagrid ("updateRow", { index: gridIndex, row: {
Url: "
" r[0].html ""
} });
datagrid built-in object
{rows:[{No:001,Order:{no:00101,amount:10}}]}
columns: [[
{ title: 'Order number', field: 'no', width: 100,
formatter: function (value, row, index) {
return row.Order.no;
}
},
Final display 00101