Home  >  Article  >  Web Front-end  >  Jquery easyUI update row example_jquery

Jquery easyUI update row example_jquery

WBOY
WBOYOriginal
2016-05-16 16:56:421132browse

Update the specified row. The param parameter contains the following characteristics:
index: The index of the updated row.
row: new data for the row.

Copy code The code is as follows:

var grid = $("#QualityAdd").datagrid ("updateRow", { index: gridIndex, row: {
Url: "" r[0].html ""
} });

datagrid built-in object
Copy code The code is as follows:

{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
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn