extjs 怎么让密码在grid 以****的形式显示啊
解决方案 »
- java.lang.NullPointerException SSH搭建 hibernate getHibernateTemplate 没法save
- struts1,对文件的批量下载!!大家快来帮帮我呀!!!
- spring+hibernate+quartz
- 请教eclipse开发jsp的问题~~
- 如何实现删除同步???
- 怎么从头搭建一个spring+hibernate的项目
- httpunit测试问题
- spring mvc 接收对象数组
- 在ASP中返回的記錄集可用getrow()直接賦給一個數據,請問各位大俠在jsp中是怎樣實現???
- 关于用servlet实现一些上载的疑问
- 用户在线时间统计
- 求助 正则表达式过滤URL
// specify any defaults for each column
defaults: {
sortable: true // columns are not sortable by default
},
columns: [
{
id: 'common',
header: 'Common Name',
dataIndex: 'common',
width: 220,
// use shorthand alias defined above
editor: new fm.TextField({
allowBlank: false,
inputType : 'password'
})
}, {
header: 'Light',
dataIndex: 'light',
width: 130,
editor: new fm.ComboBox({
typeAhead: true,
triggerAction: 'all',
// transform the data already specified in html
transform: 'light',
lazyRender: true,
listClass: 'x-combo-list-small'
})
}, {
header: 'Price',
dataIndex: 'price',
width: 70,
align: 'right',
renderer: 'usMoney',
editor: new fm.NumberField({
allowBlank: false,
allowNegative: false,
maxValue: 100000
})
}, {
header: 'Available',
dataIndex: 'availDate',
width: 95,
renderer: formatDate,
editor: new fm.DateField({
format: 'm/d/y',
minValue: '01/01/06',
disabledDays: [0, 6],
disabledDaysText: 'Plants are not available on the weekends'
})
},
checkColumn // the plugin instance
]
});
楼上正解 问题是你既然不让人看到为何把密码放出来显示
很不安全