Home > Web Front-end > JS Tutorial > body text

Jquery easyUI update row example_jquery

WBOY
Release: 2016-05-16 16:56:42
Original
1144 people have browsed it

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
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template