Subversion Repositories SmartDukaan

Rev

Rev 29230 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="col-lg-12">
                                 <table id="providertat" class="table table-striped table-advance table-hover" style="width:100%">
                                 <thead>
                                        <tr>
                                        <th>Provider Id</th>
                                        <th>Provider Name</th>
                                        <th>Warehouse Name</th>
                                        <th>Pincode</th>
                                    <th>Delivery Time</th>
                                
                                        
                                        </tr>
                                 </thead>
                                <tbody>
                                    #foreach($pt in $providerTat)
                                        <tr>
                                     <td>$pt.getProviderId()</td>
                                     <td>$providerIdMap.get($pt.getProviderId()).getName()</td>
                                     
                                     <td>$warehouseMap.get($pt.getWarehouseLocation())</td>
                                     <td>$pt.getDestinationPin()</td>
                                      <td>$pt.getDeliveryTime()</td>
                                   
                                        </tr>
                                        #end
                            </tbody>
                        </table>
        </div>

 <script>
     $(document).ready(function() {
         var table = $('#providertat').DataTable({
             "scrollX": true,
             "orderCellsTop": true,
             "fixedHeader": true,
             //"paging": false  // Disable pagination
             "lengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]]

         });
     });
 </script>