Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
28847 manish 1
<link href="https://cdn.datatables.net/fixedcolumns/3.3.0/css/fixedColumns.bootstrap.css" rel="stylesheet"/>
2
 
3
<section class="wrapper">
4
    <div class="row">
5
        <div class="col-lg-12">
6
            <h3 class="page-header">DMS CODE</i></h3>
7
            <ol class="breadcrumb">
8
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
9
                <li><i class="icon_document_alt"></i>DMS Code</li>
10
            </ol>
11
        </div>
12
    </div>
13
    <div class="col-lg-12">
14
        <table class="table table-border table-condensed table-bordered" id="partnerDealerMapping" style="width:100%">
15
 
16
            <thead class="row htable" style="background:#F5F5F5;">
17
 
18
            <tr style="color:black;">
19
                <th>Id</th>
20
                <th>Outlet Name(SM)</th>
21
                <th>Phone Number(SM)</th>
22
                <th>City (SM)</th>
23
                <th>Code(legal)</th>
24
                #foreach($brand  in $brands)
25
                <th>$brand</th>
26
                #end
27
                 <th>Submit</th>
28
            </tr>
29
            </thead>
30
            <tbody>
31
 
32
           #foreach($pob in $partnerOnBoardingPanels )
33
             <tr> 
34
 
28862 manish 35
            #parse("partner-dealer-mapping-index.vm")
28847 manish 36
 
37
            </tr> 
38
            #end
39
 
40
 
41
            </tbody>
42
 
43
        </table>
44
    </div>
45
</section>
46
 
47
<script type="text/javascript">
48
 
49
    $(document).ready(function () {
50
 
51
 
52
 
53
      var dtable = $('#partnerDealerMapping').DataTable({
54
             "scrollX": true,
55
            "scrollY": "518px",
56
            scrollCollapse: true,
57
              "fixedHeader": true,
58
 
59
        fixedColumns:   {
60
            leftColumns: 2
61
        },
62
        "columnDefs": [
63
 
64
                  { "targets": 5, "orderDataType": "dom-text", "type": "string" },
65
                  { "targets": 6, "orderDataType": "dom-text", "type": "string" },
66
                  { "targets": 7, "orderDataType": "dom-text", "type": "string" },
67
                  { "targets": 8, "orderDataType": "dom-text", "type": "string" },
68
                  { "targets": 9, "orderDataType": "dom-text", "type": "string" }
69
               ],
70
       });
71
 
72
       });
73
   </script>     
74
 
75