Guest User

Untitled

a guest
Nov 20th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. <table id="TblMercancias" class="table table-xxs datatable-responsive">
  2.  
  3.  
  4. <thead>
  5. <tr>
  6. <th>Codigo Empleado</th>
  7. <th>Nombre</th>
  8. <th>apellido</th>
  9. <th>Area</th>
  10. <th>Agrencia</th>
  11. <th>Descripcion</th>
  12. <th>Valor</th>
  13. <th>Valor2</th>
  14. <th>Valor3</th>
  15. <th>Valor4</th>
  16. <th>Valor5</th>
  17. <th>Valor6</th>
  18. <th>Valor7</th>
  19. <th>Valor8</th>
  20. <th>Valor9</th>
  21. <th>Valor10</th>
  22.  
  23.  
  24.  
  25. </tr>
  26. </thead>
  27.  
  28. <tbody>
  29. @foreach (var item in Model)
  30. {
  31. <tr>
  32.  
  33.  
  34. <td>@item.EmpId</td>
  35. <td>@item.EmpNombre</td>
  36. <td>@item.EmpApellido</td>
  37. <td>@item.AreId</td>
  38. <td>@item.AgeId</td>
  39. <td>@item.BenEmpDescripcion</td>
  40. <td>@item.DetBenEmpValor</td>
  41. <td>2</td>
  42. <td>3</td>
  43. <td>4</td>
  44. <td>5</td>
  45. <td>6</td>
  46. <td>7</td>
  47. <td>8</td>
  48. <td>9</td>
  49. <td>10</td>
  50.  
  51.  
  52.  
  53.  
  54. </tr>
  55. }
  56. </tbody>
  57.  
  58. </table>
  59. </div>
  60.  
  61. @section scripts{
  62.  
  63. <script>
  64. $(function () {
  65.  
  66. $('#TblMercancias').DataTable({
  67. 'paging': true,
  68. 'lengthChange': true,
  69. 'searching': true,
  70. 'ordering': true,
  71. 'info': true,
  72. 'autoWidth': true,
  73.  
  74.  
  75. // responsive: true,
  76. fixed: true,
  77. language: {
  78.  
  79. "decimal": "",
  80. "emptyTable": "No hay información",
  81. "info": "Mostrando _START_ a _END_ de _TOTAL_ Entradas",
  82. "infoEmpty": "Mostrando 0 to 0 of 0 Entradas",
  83. "infoFiltered": "(Filtrado de _MAX_ total entradas)",
  84. "infoPostFix": "",
  85. "thousands": ",",
  86. "lengthMenu": "Mostrar MENU Entradas",
  87. "loadingRecords": "Cargando...",
  88. "processing": "Procesando...",
  89. "search": "Buscar:",
  90. "searchPlaceholder": "Esciba para filtrar...",
  91.  
  92. "sLengthMenu": "Mostrar _MENU_ registros",
  93. "sInfoEmpty": "Mostrando registros del 0 al 0 de un total de 0 registros",
  94. "zeroRecords": "Sin resultados encontrados",
  95. "paginate": {
  96. "first": "Primero",
  97. "last": "Ultimo",
  98. "next": "Siguiente",
  99. "previous": "Anterior"
  100.  
  101. }
  102. }
  103. })
  104.  
  105. });
  106.  
  107. </script>
  108. }
Add Comment
Please, Sign In to add comment