Subversion Repositories SmartDukaan

Rev

Rev 34210 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34210 Rev 34216
Line 1... Line 1...
1
<style>
1
<style>
-
 
2
    table {
-
 
3
        table-layout: fixed;
-
 
4
        width: 100%;
-
 
5
    }
-
 
6
    .custom-width-action {
-
 
7
        width: 150px;
2
 
8
    }
3
    .custom-width {
9
    .custom-width-imeis {
4
        width: 140px; /* Set your desired width */
10
        width: 400px;
-
 
11
        word-break: break-word;
5
    }
12
    }
6
</style>
13
</style>
7
 
-
 
-
 
14
<div class="table-responsive">
8
<table class="table table-responsive table-bordered" id="offerEligibleImeisList">
15
<table class="table table-bordered" id="offerEligibleImeisList">
9
    <thead>
16
    <thead>
10
    <tr>
17
    <tr>
11
        <th>Offer Id</th>
18
        <th>Offer Id</th>
12
        <th>IMEIS</th>
19
        <th>IMEIS</th>
13
        <th>Make Eligible</th>
20
        <th>Make Eligible</th>
Line 44... Line 51...
44
            </td>
51
            </td>
45
        </tr>
52
        </tr>
46
        #end
53
        #end
47
    </tbody>
54
    </tbody>
48
</table>
55
</table>
49
 
56
</div>
50
<script>
57
<script>
51
    $('#offerEligibleImeisList').DataTable({
58
    $('#offerEligibleImeisList').DataTable({
-
 
59
 
52
        columnDefs: [
60
        columnDefs: [
53
            { targets: 4, className: 'custom-width' }
61
            { targets: 4, className: 'custom-width-action' },
-
 
62
            { targets: 1, className: 'custom-width-imeis'}
54
        ]
63
        ]
55
    });
64
    });
56
</script>
65
</script>