jqgridは行ドラッグ機能を実現
1050 ワード
$(grid_selector).jqGrid({
data: url,
datatype: "get",
height: 320,
colNames:[ ' ',' ',' id',' ',' ',' ',' '],
colModel:[
{name:'DELISEQ',index:'DELISEQ',hidden:true},
{name:'ID',index:'ID',hidden:true,key:true},
{name:'OMID',index:'OMID',hidden:true},
{name:'MAILNO',index:'MAILNO',width:'50'},
{name:'DRLABEL',index:'DRLABEL',width:'35',formatter : 'select',editoptions : {value : drLabel1}},
{name:'RECEIVERNAME',index:'RECEIVERNAME',hidden:true,width:'30'},
{name:'RECEIVERADDR',index:'RECEIVERADDR'}
],
pager : pager_selector,
editurl: editUrl,
multiselect:true,
caption: " ",
autowidth: true
});
//
$(grid_selector).jqGrid('sortableRows', {
items : '.jqgrow:not(.unsortable)'
});