帮助。我似乎无法使我的代码正常工作。它仅限制我更新300个数据。我正在使用CodeIgniter。我的htaccess或模型有问题吗?
用户界面如下:
以下是330个产品:
我不知道为什么它只更新300个数据
这是我在js数据表中的代码
$(document).ready(function(){
var table = $('#table').DataTable({
"bJQueryUI": true,
"bProcessing": true,
"processing": true,
"bDeferRender": true,
ajax: window_location+'/htdocs/reconciliation_items1',
columns: [
{
mRender: function(row, setting, full){
return "<input type='hidden' name='unitPrice[]' value='"+full.unitPrice+"'>"+"<input type='hidden' name='itemNum[]' value='"+full.itemNum+"'>"+
"<input type='hidden' name='ph_id[]' value='"+full.ph_id+"'>"+full.prodName;
}
},
{
mRender: function(row, setting, full){
return full.prodQty + ' units';
}
},
{
mRender: function(row, setting, full){
return "<input name='physical_count[]' type='number' min='0' step='1' class='physical_count' >" +
"<input name='status[]' type='hidden'>" +
"<input name='computed[]' type='hidden'>" +
"<input name='initial[]' type='hidden' value='"+full.prodQty+"'>";
}
},
{
mRender: function(row, setting, full){
return "<label class='status'></label>";
}
},
{
mRender: function(row, setting, full){
return "<textarea name='remarks[]' class='remarks'></textarea>";
}
}
],
scrollX: true,
columnDefs: [{targets: 0, width: '100px'}, {targets: [1,2,3,4], width: '50px'}],
ordering: false,
bPaginate: false,
language: {
info: 'Total number of products: <b> _MAX_ </b>',
infoEmpty: 'Total number of products: <b> 0 </b>'
}
});
<script type="text/javascript" src='<?php echo base_url(); ?>assets/js/submit.js'></script>