<div style="height:10px;">
	
</div>
<table id="tblincomingitemsummary"></table> <div id="ptblincomingitemsummary"></div>

<script type="text/javascript">
    
    $(document).ready(function(){
		jQuery("#tblincomingitemsummary").jqGrid({
			url:'<?php echo base_url().'exim/ct_bc23_view_dtl/loaddata'; ?>',
			mtype : "post",
			postData:{'q':'1', idhdrbc23:"<?php echo $idhdrbc23; ?>"},
			datatype: "json",
			colNames:['ID', 'id_hdr', 'CAR','Serial', 'JnsBarangDtl', 'TujuanKirimDtl', 'NoHs', 'SeriTrp', 'BrgUrai'
					,'Merk','Tipe','SpfLain','KdBrg','Penggunaan','KemasJn','KemasJm','KdFasDtl','BrgAsal','DNilInv','KdSat','JmlSat','NettoDtl'
					,'SatBmJm','SatCukJm','DtlOk','create_date','create_by','update_date','update_by'
					],
			colModel:[
				{name:'id_bc_in_dtl',index:'id_bc_in_dtl', width:30, hidden:true},
				{name:'id_bc_in_hdr',index:'id_bc_in_hdr', width:30, hidden:true},
				{name:'CAR',index:'CAR', width:30, hidden:true},
				{name:'Serial',index:'Serial', width:30, hidden:false},
				{name:'JnsBarangDtl',index:'JnsBarangDtl', width:30, hidden:true},
				{name:'TujuanKirimDtl',index:'TujuanKirimDtl', width:30, hidden:true},
				{name:'NoHs',index:'NoHs', width:94, hidden:false},
				{name:'SeriTrp',index:'SeriTrp', width:30, hidden:true},
				{name:'BrgUrai',index:'BrgUrai', width:149, hidden:false},
				{name:'Merk',index:'Merk', width:30, hidden:true},
				{name:'Tipe',index:'Tipe', width:30, hidden:true},
				{name:'SpfLain',index:'SpfLain', width:30, hidden:true},
				{name:'KdBrg',index:'KdBrg', width:89, hidden:false},
				{name:'Penggunaan',index:'Penggunaan', width:30, hidden:true},
				{name:'KemasJn',index:'KemasJn', width:30, hidden:true},
				{name:'KemasJm',index:'KemasJm', width:30, hidden:true},
				{name:'KdFasDtl',index:'KdFasDtl', width:30, hidden:true},
				{name:'BrgAsal',index:'BrgAsal', width:30, hidden:true},
				{name:'DNilInv',index:'DNilInv', width:129, hidden:false, align:'right', formatter:'number', hidden:true},
				{name:'KdSat',index:'KdSat', width:60, hidden:false},
				{name:'JmlSat',index:'JmlSat', width:91, hidden:false, align:'right', formatter:'number'},
				{name:'NettoDtl',index:'NettoDtl', width:30, hidden:true},
				{name:'SatBmJm',index:'SatBmJm', width:30, hidden:true},
				{name:'SatCukJm',index:'SatCukJm', width:30, hidden:true},
				{name:'DtlOk',index:'DtlOk', width:30, hidden:true},
				{name:'create_date',index:'create_date', width:30, hidden:true},
				{name:'create_by',index:'create_by', width:30, hidden:true},
				{name:'update_date',index:'update_date', width:30, hidden:true},
				{name:'update_by',index:'update_by', width:30, hidden:true},
				
			],
			rowNum:10,
			rowList:[10,20,30],
			pager: '#ptblincomingitemsummary',
			sortname: 'id_bc_in_dtl',
			viewrecords: true,
			sortorder: "asc",
			width: 650,
			height:190,
			jsonReader: { repeatitems : false },
			caption:"Detil Barang",
			//rownumbers: true,
			shrinkToFit: false,
			afterInsertRow: function(){
				
				
			}	
		
		});
		
		jQuery("#tblincomingitemsummary").jqGrid('navGrid','#ptblincomingitemsummary',{del:false,add:false,edit:false},{},{},{},{multipleSearch:false});
		
	});
		  	
</script>



	
	