<body>
<script>
$(function () {
$(' # dg). The datagrid ({
Url: '{" total ": 2," rows ": [{" code" : "001", "name" : "jack"}, {" code ":" 002 ", "name" : "Alice"}]}',
The columns: [[
{field: 'code', the title: 'code', width: 100},
{field: 'name', the title: 'name', width: 100},
]]
});
})
</script>