var dataSource = [
{
"NAME": "James Smith",
"POSITION": "AVP",
"OFFICE": "Fox Studios",
"EXTN": 71,
"START_DATE": '3/08/2008',
"JOINING_YEAR": 2008
}
];var colInfos = [
{ name: "NAME", displayName: "NAME", size: "2*" },
{ name: "POSITION", displayName: "POSITION", size: "*" },
{ name: "OFFICE", size: "*" },
{ name: "EXTN", size: "*" },
{ name: "START_DATE", size: 100 },
{ name: "JOINING_YEAR", size: 100 }
];sheet.setDataSource(dataSource);sheet.bindColumns(colInfos);数据绑定后,在其他界面我只能获取sheet这个表单情况下,我如何获取绑定列信息,也就是colInfos。谢谢!
|