标签:sea function not text and 平台 enc red creat
列表组件的初始化
toList:去列表的处理器
listMeta:获取元数据的处理器
listLoad:加载列表数据的处理器
listDelete
listSave
listNew
基本的列表初始化过程
jqList.list({
meta : waf.getListMeta("s_student"),
//frozenColumns: [ [{...}, {...}] ],
columns : [ [ {
field : "stid"
}, {
field : "name"
}, {
field : "age"
}, {
field : "sex"
}, {
field : "address"
}, {
field : "phone"
}, {
field : "regtime"
}, {
field : "edulevel"
}, {
field : "schooltag"
}, {
field : "note"
} ] ],
toolbar : [ {
text : "新增",
iconCls : "icon-add",
handler : function() {
jqList.list("listNew");
}
}, {
text : "保存",
iconCls : "icon-save",
handler : function() {
jqList.list("listSave");
}
}, {
text : "删除",
iconCls : "icon-delete",
handler : function() {
jqList.list("listDelete");
}
}, "-", {
text : "导出",
iconCls : "icon-export",
handler : function() {
jqList.list("listExport");
}
}, "-", {
text : "重置查询项",
iconCls : "icon-redo",
handler : function() {
jqList.list("queryReset");
}
}, {
text : "执行查询",
iconCls : "icon-search",
handler : function() {
jqList.list("query");
}
} ],
onCreate : function() {
//jqList.list("query");
}
});
标签:sea function not text and 平台 enc red creat
原文地址:http://www.cnblogs.com/zwy008/p/7650082.html