- 注册时间
- 2013-5-3
- 最后登录
- 2024-11-20
- 阅读权限
- 150
- 积分
- 32966
- 精华
- 0
- 帖子
- 14366
|
- columns: [
- { type: "checkColumn" },
- { field: "loginname", header: "员工帐号", allowSort: true, headerAlign: "center", width: 120, editor: { type: "textbox", cls: "aa" }, filter: { type: "textbox", width: "100%", onValueChanged: onValueChanged }
- },
- { field: "name", header: "姓名", headerAlign: "center", width: 120, filter: { type: "filteredit", width: "100%", filterData: ageFilters} },
- { header: "工作信息", headerAlign: "center", columns: [
- { headerStyle: "color:blue", field: "dept_name", header: "所属部门", width: 120 },
- { field: "position_name", header: "职位", width: 100 },
- { field: "salary", header: "薪资", dataType: "currency", currencyUnit: "¥", align: "right", width: 100, allowSort: true }
- ]
- },
- { field: "createTime", header: "创建时间", headerAlign: "center", width: 100, dateFormat: "yyyy-MM-dd" },
- { header: "基本信息", columns: [
- { header: "信息", columns: [
- { field: "gender", header: "性别", width: 100, renderer: onGenderRenderer },
- { field: "age", header: "年龄", width: 100, allowSort: true },
- { field: "conutry", type:"comboboxColumn",header: "国家", width: 100, allowSort: true, editor: {type:"combobox",url:"../data/countrys.txt"} },
- { field: "birthday", header: "出生日期", width: 100, renderer: onBirthdayRenderer }
- ]
- },
- { field: "married", header: "婚否", width: 100, align: "center", renderer: onMarriedRenderer },
- { field: "email", header: "邮箱", width: 100 }
- ]
- },
- { header: "学历信息", columns: [
- { field: "educational_name", header: "学历", width: 100 },
- { field: "school", header: "毕业院校", width: 120 }
- ]
- }
- ]
复制代码 需要在columns数据内包含filter |
|