Jqgrid动态拖拽

		//注册事件
jQuery("#list1").jqGrid('setGridParam', {
gridComplete : function() {
$("#_empty", "#list1").addClass("nodrag nodrop");//样式
$("#list1").tableDnDUpdate();//更新jquery.tablednd.js插件的方法。
}
});
jQuery("#list1").tableDnD({scrollAmount:0});
jQuery("#list2").jqGrid('gridDnD',{connectWith:'#list1',dragcopy:true,autoid:false,dropbyname:true});

  

上一篇:Linux makefile 教程 很具体,且易懂


下一篇:【CF471E】MUH and Lots and Lots of Segments 扫描线+并查集+线段树+set