var insertRows = $('#test').datagrid('getChanges','inserted');\x0d\x0a var up
var insertRows = $('#test').datagrid('getChanges','inserted');\x0d\x0a var up
1条回答
2023-07-26 11:24 .采纳回答
var insertRows = $('#test').datagrid('getChanges','inserted');\x0d\x0a var updateRows = $('#test').datagrid('getChanges','updated');\x0d\x0a var deleteRows = $('#test').datagrid('getChanges','deleted');\x0d\x0a var changesRows = {\x0d\x0a inserted : [],\x0d\x0a updated : [],\x0d\x0a deleted : [],\x0d\x0a };\x0d\x0a if (insertRows.length>0) {\x0d\x0a for (var i=0;i0) {\x0d\x0a for (var k=0;k0) {\x0d\x0a for (var j=0;j
var insertRows = $('#test').datagrid('getChanges','inserted');\x0d\x0a var updateRows = $('#test').datagrid('getChanges','updated');\x0d\x0a var deleteRows = $('#test').datagrid('getChanges','deleted');\x0d\x0a var changesRows = {\x0d\x0a inserted : [],\x0d\x0a updated : [],\x0d\x0a deleted : [],\x0d\x0a };\x0d\x0a if (insertRows.length>0) {\x0d\x0a for (var i=0;i0) {\x0d\x0a for (var k=0;k0) {\x0d\x0a for (var j=0;j
一周热门 更多>