EVOLUTION-NINJA
Edit File: weaving_issue_to_loom.php
<style> .ui-jqgrid { text-transform: capitalize !important; } .tablediv { text-transform: uppercase !important; } .ui-jqgrid tr.jqgrow td{ text-transform: uppercase !important; } </style> <script> function planningtypes(str) { if(str=="yarn_raw") { $('#table_raw').show(); $('#table_twist').hide(); $('#table_dyed').hide(); $('#table_swan').hide(); $('#table_rem').hide(); $('#check_cal').val('raw'); } else if(str=="yarn_twisting") { $('#table_raw').hide(); $('#table_twist').show(); $('#table_dyed').hide(); $('#table_rem').hide(); $('#table_swan').hide(); $('#check_cal').val('twist'); } else if(str=="yarn_dyed") { $('#table_raw').hide(); $('#table_twist').hide(); $('#table_dyed').show(); $('#table_rem').hide(); $('#table_swan').hide(); $('#check_cal').val('dyed'); } else if(str=="swan_yarn_dyed") { $('#table_raw').hide(); $('#table_twist').hide(); $('#table_dyed').hide(); $('#table_rem').hide(); $('#table_swan').show(); $('#check_cal').val('swan'); } else if(str=="remnant_yarn") { $('#table_raw').hide(); $('#table_twist').hide(); $('#table_dyed').hide(); $('#table_swan').hide(); $('#table_rem').show(); $('#check_cal').val('rem'); } } function madeups_fabric(as) { window.location.href = '<?php echo base_url('weaving_panel/issued_to_loom_stock'); ?>/'+ '?id='+as; } </script> <div class="page-content-wrapper"> <div class="page-content"> <!-- BEGIN PAGE HEADER--> <h3 class="page-title"> Yarn Stock Details </h3> <div class="page-bar"> <ul class="page-breadcrumb"> <li><i class="fa fa-home"></i> <a href="<?php echo base_url();?>dashboard/dashboard_fun">Home</a> <i class="fa fa-angle-right"></i> <a href="<?php echo base_url('weaving_panel/issued_loom'); ?>" >Issued to Loom </a></li> </ul> </div> <input type="submit" id="generate_submit" value="Submit" class="generate_submit" style="float: right; !important;margin-right: 22px;"/> <button type="button" style="float: right; !important;margin-right: 10px;" onclick="madeups_fabric(<?php echo $value_id; ?>)" />Back </button> <form action="<?php echo base_url('weaving_panel/issued_to_weaving_addstock'); ?>" method="post" class="form"> <input type="hidden" id="checked_ids" name="checked_ids" class="checked_ids"> <input type="hidden" id="id_val" name="id_val" class="id_val" value="<?php echo $value_id; ?>"> <input type="hidden" id="check_cal" name="check_cal" class="check_cal" value="<?php echo 'raw'; ?>"> </form> <div class="radio-list" style="margin-left: 2%;"> <label class="radio-inline"><input type="radio" name="optradio" checked id="planningorder" onclick="planningtypes('yarn_raw')" value="yarn_raw">Yarn - Raw </label> <label class="radio-inline"><input type="radio" name="optradio" id="planningorder" onclick="planningtypes('yarn_twisting')" value="yarn_twisting">Yarn - Twisting</label> <label class="radio-inline"><input type="radio" name="optradio" id="planningorder" onclick="planningtypes('yarn_dyed')" value="yarn_dyed">Yarn - Dyed</label> <label class="radio-inline"><input type="radio" name="optradio" id="planningorder" onclick="planningtypes('swan_yarn_dyed')" value="swan_yarn_dyed">Swan - Yarn - Dyed </label> <label class="radio-inline"><input type="radio" name="optradio" id="planningorder" onclick="planningtypes('remnant_yarn')" value="remnant_yarn">Remnant Yarn </label> </div><br> <input type="hidden" id="delete_id" class="delete_id" value="<?php if(empty($access_row)){ } else { echo $access_row->delete_id; } ?>" > <input type="hidden" id="preview_id" class="preview_id" value="<?php if(empty($access_row)){ } else { echo $access_row->preview_id; } ?>" > <div id="table_twist" style="display:none;"> <div id = "jaytab" class="jaytab"> <table id="list6"></table> <div id="pager6"></div> <div id="dialogSelectRow" title="Warning" style="display:none"> <p>Please select row</p> </div> </div> </div> <div id="table_rem" style="display:none;"> <div id = "jaytab" class="jaytab"> <table id="list7"></table> <div id="pager7"></div> <div id="dialogSelectRow" title="Warning" style="display:none"> <p>Please select row</p> </div> </div> </div> <div id="table_raw"> <div id = "jaytab" class="jaytab"> <table id="list2"></table> <div id="pager2"></div> <div id="dialogSelectRow" title="Warning" style="display:none"> <p>Please select row</p> </div> </div> </div> <div id="table_dyed" style="display:none;"> <div id = "jaytab" class="jaytab"> <table id="list3"></table> <div id="pager3"></div> <div id="dialogSelectRow" title="Warning" style="display:none"> <p>Please select row</p> </div> </div> </div> <div id="table_swan" style="display:none;"> <div id = "jaytab" class="jaytab"> <table id="list4"></table> <div id="pager4"></div> <div id="dialogSelectRow" title="Warning" style="display:none"> <p>Please select row</p> </div> </div> </div> </div> </div> </div> <!-- End BEGIN CONTAINER --> <!-- BEGIN FOOTER --> <!-- BEGIN FOOTER --> <link rel="stylesheet" href="<?php echo base_url('assets/css/code_jquery.min.css');?>"> <script src="<?php echo base_url('assets/js/jquery-ui.min.js'); ?>" type="text/javascript"></script> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url('assets/css/jquery-ui.min.css'); ?>" /> <style> .ss{ padding-right: 0 !important; padding-left: 0 !important; } .form-control { width:65% !important; height:27px !important; padding: 3px 12px !important; border-radius: 0px !important; //margin-bottom:15px; } label { font-weight: normal; text-align: left; } .hr-line{ border-top: 1px solid #465A81; } .well-sm { padding: 3px !important; border-radius: 0px !important; } input[type="file"] { padding-bottom: 28px !important; height: 25px !important; color:transparent; } .portlet.box.blue-madison { border: 1px solid #fff !important; border-top: 0; background:#fff !important; } #table_approved_indent { display:none; } #refresh_list3 { display:none !important; } </style> <script> function getDesignAndQuality(articleNo) { $.ajax({ type: "post", url: "<?php echo base_url(); ?>marketing/getDesignAndQuality", data: "articleNo=" + articleNo, success: function (data) { var objData = jQuery.parseJSON(data); document.getElementById("design").value = objData.design; document.getElementById("quality").value = objData.quality; } }); } </script> <!-----------------datepicker-------------> <!-- The link to the CSS that the grid needs --> <link href="<?php echo base_url('assets/css/sweetalert2.min.css');?>" rel="stylesheet"/> <script src="<?php echo base_url('assets/js/sweetalert2.min.js');?>"></script> <script type="text/ecmascript" src="<?php echo base_url('jqgrid/js/jquery.jqGrid.min.js'); ?>"></script> <!-- This is the localization file of the grid controlling messages, labels, etc. <!-- We support more than 40 localizations --> <script type="text/ecmascript" src="<?php echo base_url('jqgrid/js/i18n/grid.locale-en.min.js'); ?>"></script> <!-- A link to a jQuery UI ThemeRoller theme, more than 22 built-in and many more custom --> <!-- The link to the CSS that the grid needs --> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url('jqgrid/css/ui.jqgrid.min.css'); ?>" /> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url('jqgrid/css/ui.jqgrid-bootstrap.min.css'); ?>" /> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url('jqgrid/css/ui.jqgrid-bootstrap-ui.min.css'); ?>" /> <link rel="stylesheet" href="<?php echo base_url('assets/css/code_jquery.min.css');?>"> <script src="<?php echo base_url('assets/js/jquery-ui.min.js'); ?>" type="text/javascript"></script> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url('assets/css/jquery-ui.min.css'); ?>" /> <style type="text/css"> .ss{ padding-right: 0 !important; padding-left: 0 !important; } label { font-weight: normal; text-align: left; } .hr-line{ border-top: 1px solid #465A81; } .well-sm { padding: 3px !important; border-radius: 0px !important; } input[type="file"] { padding-bottom: 28px !important; height: 25px !important; color:transparent; } .portlet.box.blue-madison { border: 1px solid #fff !important; border-top: 0; background:#fff !important; } input[type=file] { display: none; } .ui-jqgrid .ui-jqgrid-caption { text-align: left; background: rgb(72,91,127); color: white; } .ui-jqdialog .ui-jqdialog-titlebar { padding: .1em .1em; min-height: 35px; background: rgb(72,91,127); color: white; } .ui-jqdialog .ui-jqdialog-titlebar-close span { display: block; margin: -9px; } #sData { height: 27px; } #cData { height: 27px; } #dData { height: 27px; } #eData { height: 27px; } .coledit { cursor:pointer; text-align: right; padding-right: 33px !important; padding-left: 33px !important; } .ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td { overflow: hidden; white-space: pre; } </style> <!-----------------datepicker-------------> <!-- The link to the CSS that the grid needs --> <script> //<!-- -------------------- remnants ----------------------------> $(document).ready(function (){ /// var l=$("#location").val(); // alert(l); jQuery("#list7").jqGrid({ url:"<?php echo base_url('out_source/fetch_remnants_data')?>", datatype: "json", colNames:['Id','Select','OSL#','Yarn Details','Yarn Denier','Yarn Specification','DTL Shade','Color Code','Lot','Bale','Bag','Net Weight','Location','Received Date','Received By'], colModel:[ {name:'id',index:'id',hidden:true, width:50,editable:true,width:100}, {name:'',index:'',align: "center",editable:false,editrules:{required: true}, width:80,cellattr: function (rowId, tv, rawObject, cm, rdata) { return ' onclick=" " '; },formatter:function (cellvalue, options, rowObject) { return "<input type='radio' id='radio1_b' name='radio1_b' class='radio1_b' value=id \>"; }}, {name:'osl_no',index:'osl_no', width:90,editable:false}, {name:'yarn_name',index:'yarn_name', editable:true,editrules:{required: true},width:120}, {name:'yarn_den',index:'yarn_den', width:100,editable:true,editrules:{required: true}}, {name:'yarn_spec',index:'yarn_spec', width:70,editable:true,editrules:{required: true}}, {name:'yarn_ssl_shade',index:'yarn_ssl_shade', width:90,editable:true,editrules:{required: true}}, {name:'color_code',index:'color_code', width:90,editable:true,editrules:{required: true}}, {name:'yarn_lot',index:'yarn_lot', width:70,editable:true,editrules:{required: true}}, {name:'yarn_bale',index:'yarn_bale', width:70,editable:true,editrules:{required: true}}, {name:'bag',index:'bag', width:70,editable:true,editrules:{required: true}}, {name:'rements_stock',index:'rements_stock', width:70,editable:true,editrules:{required: true}}, {name:'remnants_location',index:'remnants_location', width:90,editable:true,editrules:{required: true}}, {name:'rements_approved_date',index:'rements_approved_date', width:90,editable:true,editrules:{required: true}}, {name:'rements_approval_by',index:'rements_approval_by', width:90,editable:true,editrules:{required: true}}, ], height: 'auto', rowNum:50, rowTotal: 200000000000000000000000000, rowList : [50,100,200,300,500,1000,5000], rownumbers: true, rownumWidth: 40, pager:"#pager7", sortname:'id', viewrecords: true, gridview: true, autowidth: true, sortorder:"asc", loadonce:true, caption:"Remnants Yarn Details", footerrow: true, loadComplete: function () { // var sumOfPrice_issue_net_wt = jQuery("#list6").jqGrid('getCol','issue_net_wt',false,'sum'); var sumOfPrice_rements = jQuery("#list7").jqGrid('getCol','rements_stock',false,'sum'); jQuery("#list7").jqGrid('footerData', 'set', { bag: 'Total:', rements_stock: sumOfPrice_rements.toFixed(2) }); }, }); //$("#list2").jqGrid('filterToolbar',{searchOperators : false}); //for multisearch code,remove if not required jQuery("#list7").jqGrid('filterToolbar', { stringResult: true, searchOnEnter: false, defaultSearch: "cn" }); $("#list7").jqGrid('navGrid','#pager7', {edit:false,add:false,del:false,search:false,refreshstate:"current"}, { }, { }, { }, { sopt:['eq', 'ne', 'lt', 'gt', 'cn', 'bw', 'ew'], closeOnEscape: true, multipleSearch: true, closeAfterSearch: true } ); }); // <!----------------------------------ho access controll -------------------------------> $(document).ready(function (){ jQuery("#list2").jqGrid({ url:"<?php echo base_url('weaving_panel/issued_to_loom_raw_stock')?>", datatype: "json", colNames:['Id','Select','Purpose','Yarn Name','Yarn Denier','Yarn Specification',' Lot',' Bale',' Gross Weight','Net Weight','Location'], colModel:[ {name:'id',index:'id',hidden:true, width:50,editable:true,width:100}, {name:'',index:'',align: "center",editable:false,editrules:{required: true}, width:80,cellattr: function (rowId, tv, rawObject, cm, rdata) { return ' onclick=" " '; },formatter:function (cellvalue, options, rowObject) { return "<input type='radio' id='radio1_b' name='radio1_b' class='radio1_b' value=id \>"; }}, {name:'purpose',index:'purpose', width:50,editable:false,width:130}, {name:'yarnname',index:'yarnname',edittype:'text',editable:true,editrules:{required: true}, width:120}, {name:'yarndenier',index:'yarndenier',editable:true, width:130}, {name:'yarnspecification',index:'yarnspecification',editable:true, width:120}, {name:'lot',index:'lot', width:50,editable:false,width:130}, {name:'bale',index:'bale', width:50,editable:false,width:100}, {name:'issue_gross_weight',index:'issue_gross_weight', width:50,editable:false,width:100}, {name:'issue_net_weight',index:'issue_net_weight', width:50,editable:false,width:100}, {name:'consumed_at',index:'consumed_at',hidden:false,editable:true, width:120}, ], height: 'auto', rowNum:50, rowTotal: 20000000000000000000000000, rowList : [50,100,200,300,500,1000,5000], rownumbers: true, rownumWidth: 40, pager:"#pager2", sortname:'id', viewrecords: true, gridview: true, autowidth: true, sortorder:"asc", loadonce:true, caption:"Yarn-Raw Stock Details", }); //$("#list2").jqGrid('filterToolbar',{searchOperators : false}); //for multisearch code,remove if not required jQuery("#list2").jqGrid('filterToolbar', { stringResult: true, searchOnEnter: false, defaultSearch: "cn" }); $("#list2").jqGrid('navGrid','#pager2', {edit:false,add:false,del:false,search:false,refreshstate:"current"}, { }, { }, { }, { sopt:['eq', 'ne', 'lt', 'gt', 'cn', 'bw', 'ew'], closeOnEscape: true, multipleSearch: true, closeAfterSearch: true } ); }); //<!----------------------------------ho access controll -------------------------------> $(document).ready(function (){ jQuery("#list6").jqGrid({ url:"<?php echo base_url('weaving_panel/issued_to_loom_twist_stock')?>", datatype: "json", colNames:['Id','Select','Purpose','Yarn Name','Yarn Denier','Yarn Specification','Shade','Lot',' Bale',' Gross Weight','Net Weight','Location'], colModel:[ {name:'id',index:'id',hidden:true, width:50,editable:true,width:100}, {name:'',index:'',align: "center",editable:false,editrules:{required: true}, width:80,cellattr: function (rowId, tv, rawObject, cm, rdata) { return ' onclick=" " '; },formatter:function (cellvalue, options, rowObject) { return "<input type='radio' id='radio1_b' name='radio1_b' class='radio1_b' value=id \>"; }}, {name:'purpose',index:'purpose', width:50,editable:false,width:130}, {name:'yarnname',index:'yarnname',edittype:'text',editable:true,editrules:{required: true}, width:120}, {name:'yarndenier',index:'yarndenier',editable:true, width:130}, {name:'yarnspecification',index:'yarnspecification',editable:true, width:120}, {name:'shades',index:'shades', width:50,editable:false,width:130}, {name:'lot',index:'lot', width:50,editable:false,width:130}, {name:'bale',index:'bale', width:50,editable:false,width:100}, {name:'issue_gross_weight',index:'issue_gross_weight', width:50,editable:false,width:100}, {name:'issue_net_weight',index:'issue_net_weight', width:50,editable:false,width:100}, {name:'consumed_at',index:'consumed_at',hidden:false,editable:true, width:120}, ], height: 'auto', rowNum:50, rowTotal: 20000000000000000000000000, rowList : [50,100,200,300,500,1000,5000], rownumbers: true, rownumWidth: 40, pager:"#pager6", sortname:'id', viewrecords: true, gridview: true, autowidth: true, sortorder:"asc", loadonce:true, caption:"Yarn-Twisting Stock Details", }); //$("#list2").jqGrid('filterToolbar',{searchOperators : false}); //for multisearch code,remove if not required jQuery("#list6").jqGrid('filterToolbar', { stringResult: true, searchOnEnter: false, defaultSearch: "cn" }); $("#list6").jqGrid('navGrid','#pager6', {edit:false,add:false,del:false,search:false,refreshstate:"current"}, { }, { }, { }, { sopt:['eq', 'ne', 'lt', 'gt', 'cn', 'bw', 'ew'], closeOnEscape: true, multipleSearch: true, closeAfterSearch: true } ); }); //<!----------------------------------peenya access controll -------------------------------> $(document).ready(function (){ jQuery("#list3").jqGrid({ url:"<?php echo base_url('weaving_panel/issued_to_loom_dyed_stock')?>", datatype: "json", colNames:['Id','Select','Purpose','Yarn Name','Yarn Denier','Yarn Specification',' DTL Shade','Shade','Color Code','Lot',' Bale',' Gross Weight','Net Weight','Location'], colModel:[ {name:'id',index:'id',hidden:true,editable:true,width:80}, {name:'',index:'',align: "center",editable:false,editrules:{required: true}, width:80,cellattr: function (rowId, tv, rawObject, cm, rdata) { return ' onclick=" " '; },formatter:function (cellvalue, options, rowObject) { return "<input type='radio' id='radio1_b' name='radio1_b' class='radio1_b' value=id \>"; }}, {name:'purpose',index:'purpose',editable:false,width:130}, {name:'yarnname',index:'yarnname',edittype:'text',editable:true,editrules:{required: true}, width:120}, {name:'yarndenier',index:'yarndenier',editable:true, width:50}, {name:'yarnspecification',index:'yarnspecification',editable:true, width:50}, {name:'ssl_shade',index:'ssl_shade',editable:false,width:130}, {name:'shades',index:'shades',editable:false,width:130}, {name:'color_code',index:'color_code',editable:false,width:130}, {name:'lot',index:'lot',editable:false,width:50}, {name:'bale',index:'bale',editable:false,width:50}, {name:'issue_gross_weight',index:'issue_gross_weight',editable:false,width:100}, {name:'issue_net_weight',index:'issue_net_weight',editable:false,width:100}, {name:'consumed_at',index:'consumed_at',hidden:false,editable:true, width:120}, ], height: 'auto', rowNum:50, rowTotal: 20000000000000000000000000, rowList : [50,100,200,300,500,1000,5000], rownumbers: true, rownumWidth: 40, pager:"#pager3", sortname:'id', viewrecords: true, gridview: true, autowidth: true, sortorder:"asc", loadonce:true, caption:"Yarn-Dyed Stock Details", }); //$("#list2").jqGrid('filterToolbar',{searchOperators : false}); //for multisearch code,remove if not required jQuery("#list3").jqGrid('filterToolbar', { stringResult: true, searchOnEnter: false, defaultSearch: "cn" }); $("#list3").jqGrid('navGrid','#pager3', {edit:false,add:false,del:false,search:false,refreshstate:"current"}, { }, { }, { }, { sopt:['eq', 'ne', 'lt', 'gt', 'cn', 'bw', 'ew'], closeOnEscape: true, multipleSearch: true, closeAfterSearch: true } ); }); // <!----------------------------------nandi access controll -------------------------------> $(document).ready(function (){ jQuery("#list4").jqGrid({ url:"<?php echo base_url('weaving_panel/issued_to_loom_swan_stock')?>", datatype: "json", colNames:['Id','Select','OSL No.','Issue #','Yarn Quality','Yarn Name','Yarn Denier','Yarn Specification',' DTL Shade','Color Code','Dyed Weight','Location'], colModel:[ {name:'id',index:'id',hidden:true, width:50,editable:true,width:100}, {name:'',index:'',align: "center",editable:false,editrules:{required: true}, width:80,cellattr: function (rowId, tv, rawObject, cm, rdata) { return ' onclick=" " '; },formatter:function (cellvalue, options, rowObject) { return "<input type='radio' id='radio1_b' name='radio1_b' class='radio1_b' value=id \>"; }}, {name:'osl_no',index:'osl_no', width:50,editable:false,width:130}, {name:'issue_no',index:'issue_no', width:50,editable:false,width:130}, {name:'yarn_quality',index:'yarn_quality', width:50,editable:false,width:130}, {name:'yarnName',index:'yarnName',edittype:'text',editable:true,editrules:{required: true}, width:120}, {name:'yarnSpecification',index:'yarnSpecification',editable:true, width:130}, {name:'yarnDenier',index:'yarnDenier',editable:true, width:120}, {name:'shade',index:'shade', width:50,editable:false,width:130}, {name:'color_code',index:'color_code', width:50,editable:false,width:130}, {name:'rec_dyed_qua',index:'rec_dyed_qua', width:50,editable:false,width:100}, {name:'location',index:'location',hidden:false,editable:true, width:120}, ], height: 'auto', rowNum:50, rowTotal: 20000000000000000000000000, rowList : [50,100,200,300,500,1000,5000], rownumbers: true, rownumWidth: 40, pager:"#pager4", sortname:'id', viewrecords: true, gridview: true, autowidth: true, sortorder:"asc", loadonce:true, caption:"Swan-Yarn-Dyed Stock Details", }); //$("#list2").jqGrid('filterToolbar',{searchOperators : false}); //for multisearch code,remove if not required jQuery("#list4").jqGrid('filterToolbar', { stringResult: true, searchOnEnter: false, defaultSearch: "cn" }); $("#list4").jqGrid('navGrid','#pager4', {edit:false,add:false,del:false,search:false,refreshstate:"current"}, { }, { }, { }, { sopt:['eq', 'ne', 'lt', 'gt', 'cn', 'bw', 'ew'], closeOnEscape: true, multipleSearch: true, closeAfterSearch: true } ); }); function fun_preview(rowId) { var id = rowId.closest('tr').attr('id'); var as=id; var v=$('#preview_id').val(); if(v == 1) { $.ajax({ type:'post', url:'<?php echo base_url("stock_history_details/fabric_stock_preview"); ?>', data:{'id':as}, async:false, success:function() { window.location.href = '<?php echo base_url('stock_history_details/fabric_stock_preview');?>/'+ '?id='+as; } }); } else { swal({ title: "You Don't Have Access For This Preview", text: "", }); } } </script> <script> $("#generate_submit").on('click', function () { var id=''; $("input[type=radio]:checked").each(function() { id += $(this).closest('tr').attr('id') + "|"; }); //alert(); $(".checked_ids").val(''); $(".checked_ids").val(id); $(".form").submit(); }); </script> <style> .preview { padding-bottom:3px !important; padding-top:3px !important; } </style> <link rel="stylesheet" href="<?php echo base_url('assets/css/code_jquery.min.css');?>"> <script src="<?php echo base_url('assets/js/jquery-ui.min.js'); ?>" type="text/javascript"></script> <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url('assets/css/jquery-ui.min.css'); ?>" /> <script> $(document).ready(function() { $( "#customer" ).autocomplete({ source: '<?php echo base_url('request/auto_sea'); ?>', }); }); function searchname() { var customer = document.getElementById('customer').value; $.ajax({ url:"<?php echo base_url('request/search_by_fetch')?>", dataType: "json", data:{'customer':customer}, type:"POST", async:true, success:function(data) { // alert('hai'); var obj=JSON.parse(data); document.getElementById('customer_id').value=obj[0].customerID; } }); } </script> <style> #search_list2 { display:none !important; } #list2_122_t { height:0px !important; } list2_136_t { height:12px !important; } .scroll { height:12px !important; } .ui-jqgrid-btable { } .ui-common-table { height:12px !important; } #refresh_list2 { display:none !important; } #client_edit { padding-right:12px !important; } #list2 { width: 1050px; height: 0px !important; } #gbox_list2 { height: auto !important; } #gview_list2 { height: auto !important; } @media only screen and (min-width:320px) and (max-width:641px){ .ui-jqgrid { margin-left: 1px !important; } #jaytab{ margin-top: 0 !important; margin-left: 0 !important; overflow-x: scroll; width: 100% !important; padding-left: 0 !important; } #editmodlist2 { width:90% !important; } #sData span, #cData span { margin-left: 0 !important; } } @media only screen and (min-width:641px) and (max-width:991px){ .ui-jqgrid { margin-left: 1px !important; } #jaytab{ margin-top: 0 !important; margin-left: 0 !important; overflow-x: scroll; width: 100% !important; padding-left:0 !important; padding-right:9px !important; } } #sData span, #cData span { margin-left: 3px; } #sData { height: 29px; } #cData { height: 29px; } .jqgfirstrow { height: 0px !important; } </style> <style> @media only screen and (min-width:320px) and (min-height:640px){ #gbox_list2{ width:1052px !important; } #gview_list2{ width:100% !important; } .ui-jqgrid-hdiv{ width:100% !important; } .ui-jqgrid-htable{ width:100% !important; } #list2{ width:100% !important; } } </style>