|
版本: |
|
小版本号: |
|
|
|
数据库: |
|
服务器操作系统: |
|
应用服务器: |
|
客户端操作系统: |
|
浏览器: |
|
|
|
if (typeof data == "string") data = justep.xbl(data);
var grid = data.getStore();
var columnIDs = jsonTable.userdata.relationAlias.split(",");
for (var i = 0; i < columnIDs.length; i++) {
if (i < grid.getColumnCount()) {
grid.columnIds = columnIDs;
grid.setColumnLabel(i, columnIDs);
grid.setColumnHidden(i, false);
} else {
grid.insertColumn(i, columnIDs, "ro", "");
grid.columnIds = columnIDs;
}
}
for (var i = columnIDs.length; i < grid.getColumnCount(); i++) {
grid.setColumnHidden(i, true);
}
2.7没问题3.6提示没定义
|
|