问题描述
- easyui datagrid的问题 7712随机包null为空或不是对象
-
Json格式如下:{
"pages":1,
"total":1,
"rows":[{
"SEQNO":"1",
"FILENO":"1",
"FILENAME":"A101",
"STANDARDSTATUS":"0",
"STANDARDCLASS":"空",
"STANDARDLEVEL":"6be87adff8734dd2a4384823890d26e2",
"ISSUEDDATE":"1",
"REFERWAY":"2013-6-14 15:14:05",
"CANCELDATE":"2013-6-14 17:40:33",
"STATUS":"1",
"REMARK":"2013-6-14 17:40:43"}]
}
JS如下:
$('#tt').datagrid({
title: "发票付款",
iconCls: 'icon-save',
width: 'auto',
height: 320,
nowrap: true,
striped: true,
url: "StandardFile.ashx?mode=datagrid&CLASSNO=02",
sortName: 'SEQNO',
sortOrder: 'asc',
columns: [[
{ field: 'SEQNO', title: '序号', width: 120},
{field: 'FILENO', title: '标准代号', width: 120 },
{ field: 'FILENAME', title: '标准名称', width: 120 },
{ field: 'STANDARDSTATUS', title: '状态', width: 120 },
{ field: 'STANDARDCLASS', title: '标准类别', width: 120 },
{ field: 'STANDARDLEVEL', title: '标准级别', width: 120 },
{ field: 'ISSUEDDATE', title: '发布日期', width: 120 },
{ field: 'REFERWAY', title: '查阅方式', width: 120 },
{ field: 'CANCELDATE', title: '作废日期', width: 120 },
{ field: 'STATUS', title: '状态', width: 120 },
{ field: 'REMARK', title: '备注', width: 120 }
]],
pagination: true,
rownumbers: true,
singleSelect: true,
//queryParams: qParams,
loadMsg: '正在加载,请稍后...'
});框架报错如下:
7712行 null为空或不是对象情况是这样的,有时候能绑定上,有时候就会报错。实在受不了了。拜谢各位了