当我使用这段代码时:
$("#flex1").flexigrid({
colModel : [
{display :'Customer ID',name : 'customer_id',width : 100,sortable : true,align : 'left'},
{display :'Customer Full Name',name : 'customer_fullname',width : 130,sortable : true,align : 'left'},
{display : 'Admin License No',name : 'admin_license_number',width : 130,sortable : true,align : 'left'},
{display : 'Admin License Key',name : 'admin_license_key',width : 130,sortable : true,align : 'left'},
{display : 'User License Number',name : 'user_license_number',width : 130,sortable : true,align : 'left'},
{display : 'ska2',name : '',width : 130,sortable : true,align : 'left'},
],
sortname: "customer_id",
sortorder: "asc",
usepager: true,
title: 'List',
useRp: true,
rp: 10,
showTableToggleBtn: true,
width: 1000,
height: 500,
});
发生错误并且不显示任何内容:
错误:应为标识符、字符串或数字。
现在我正在使用 PHP4 并在上面的 PHP5 上尝试后尝试实现。