Subversion Repositories SmartDukaan

Rev

Rev 28847 | Rev 28901 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<link href="https://cdn.datatables.net/fixedcolumns/3.3.0/css/fixedColumns.bootstrap.css" rel="stylesheet"/>

<section class="wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header">DMS CODE</i></h3>
            <ol class="breadcrumb">
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
                <li><i class="icon_document_alt"></i>DMS Code</li>
            </ol>
        </div>
    </div>
    <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="partnerDealerMapping" style="width:100%">

            <thead class="row htable" style="background:#F5F5F5;">

            <tr style="color:black;">
                <th>Id</th>
                <th>Outlet Name(SM)</th>
                <th>Phone Number(SM)</th>
                <th>City (SM)</th>
                <th>Code(legal)</th>
                #foreach($brand  in $brands)
                <th>$brand</th>
                #end
                 <th>Submit</th>
            </tr>
            </thead>
            <tbody>
          
           #foreach($pob in $partnerOnBoardingPanels )
             <tr> 
           
            #parse("partner-dealer-mapping-index.vm")
           
            </tr> 
            #end
            
            
            </tbody>

        </table>
    </div>
</section>

<script type="text/javascript">

    $(document).ready(function () {
    
    
                
      var dtable = $('#partnerDealerMapping').DataTable({
             "scrollX": true,
            "scrollY": "518px",
            scrollCollapse: true,
              "fixedHeader": true,
             
        fixedColumns:   {
            leftColumns: 2
        },
        "columnDefs": [
        
                  { "targets": 5, "orderDataType": "dom-text", "type": "string" },
                  { "targets": 6, "orderDataType": "dom-text", "type": "string" },
                  { "targets": 7, "orderDataType": "dom-text", "type": "string" },
                  { "targets": 8, "orderDataType": "dom-text", "type": "string" },
                  { "targets": 9, "orderDataType": "dom-text", "type": "string" }
               ],
       });
       
       });
   </script>