随笔分类 -  Ext JS

摘要:listUsersGrid.on('edit', function(editor, e) { var pass = editor.record.data.password; editor.record.data.password = hex_md5(pass); store.sync(); });listUsersGrid 是一个grid panel使用chrome debug 定位到以上回调函数内,就可以很容易发现: editor.record.data.password; 可以获取当前编辑好的记录的新值如图:其中的 dat... 阅读全文
posted @ 2013-08-08 16:01 Hassan Blog 阅读(873) 评论(0) 推荐(0)