87,922
社区成员
发帖
与我相关
我的任务
分享
<script type="text/javascript">
var columns =
[
{ display: '主键', name: 'id', type: 'int', mintWidth: 40, width: 100 },
{ display: '名字', name: 'name',width:100 },
{ display: '性别', name: 'sex', width: 100 },
{ display: '生日', name: 'birthday', type: 'date'}
];
$("#maingrid").ligerGrid({
columns: columns,
dataAction: 'server',
url: '/Ashx/Ashx_GetList.ashx',
sortname: 'id',
width:1000,
height:200,
usePager: false,
isScroll: true
});
</script>
var content = "[{ id: 1, name: \"林三\", sex: \"男\", birthday: \"1989/01/12\", score: 63.3 }]";
context.Response.Write(content);
var content = "{\"Rows:\":{ \"id\": 1, \"name\": \"林三\", \"sex\": \"男\", \"birthday\": \"1989/01/12\", \"score\": 63.3 }]}";
context.Response.Write(content);