摘要:
扩展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 阅读全文