摘要: 扩展datagrid的一个方法keyCtr$.extend($.fn.datagrid.methods, {keyCtr : function (jq) {return jq.each(function () {var grid = $(this);grid.datagrid('getPanel').panel('panel').attr('tabindex', 1).bind('keydown', function (e) {switch (e.keyCode) {case 38: // upvar selected = gri 阅读全文
posted @ 2014-03-31 15:43 zhangzhenpeng 阅读(1564) 评论(0) 推荐(0) 编辑