Ext.ux.grid.CheckColumn 添加 afteredit 事件
最近做一个手机充值的后台想使用ext做ui,结果发现官方的CheckColumn没有afteredit事件,自己研究了改了下
CheckColumn.js
---- 数据库: `www.hongyun2000.cn`---- ------------------------ 表的结构 `recharge`--DROP TABLE IF EXISTS `recharge`;CREATE TABLE IF NOT EXISTS `recharge` ( `id` mediumint(9) NOT NULL AUTO_INCREMENT COMMENT 'ID', `mobile` varchar(15) NOT NULL COMMENT '手机', `original_price` float NOT NULL COMMENT '原价', `current_price` float NOT NULL COMMENT '现价', `order_id` varchar(25) NOT NULL COMMENT '订单id', `time` datetime NOT NULL COMMENT '时间', `is_pay` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否付款', `is_recharge` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否充值', PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;---- 导出表中的数据 `recharge`--INSERT INTO `recharge` (`id`, `mobile`, `original_price`, `current_price`, `order_id`, `time`, `is_pay`, `is_recharge`) VALUES(1, '13525689561', 100, 95, 'HY123132456', '2015-05-10 00:00:00', 1, 0),(2, '13356895689', 50, 46, 'HY123132457', '2011-01-18 15:41:47', 0, 0);
?