Popular
Newest
Updated
Sign in
Create an account
Categories
Admin Templates
205
Multipurpose Templates
168
Landing Pages
161
Portfolios & Resumes
88
Ecommerce
51
Blogs & Magazines
26
Directories & Listings
27
UI Kits & Website Builders
10
Documentation
5
Specialty
119
Topics
General
278
Business & Corporate
127
Design & Creative Services
116
Apps & Software
56
Retail & Shopping
36
Startups & SaaS
28
Marketing & Conversion
21
Restaurants & Cafes
19
Finance & Accounting
17
Education & Learning
16
See all →
Compatible with
Bootstrap
806
Tailwind CSS
49
PHP
43
React
42
Laravel
27
Python
25
Angular
24
Vue.js
22
Django
21
ASP.NET Core
14
See all →
Discussion on
Inspinia - Responsive Admin Template
Details
Discussion
Back to discussions
FOOTABLE no agrupa despues de colocar una lista de Datos
IsraelGarces
PURCHASED
3 weeks ago
Tabla de tipo "FOOTABLE" para listar 26 Renglones. Con páginas de 8 renglones
El primer despliegue funciona
Al realizar actualización de datos, no hace paginación Solo pone los 26 renglones en forma de lista. (Error)
<!-- -->
<table id="MyTable" class="footable table table-stripped" data-page-size="8" data-filter=#filter>
<thead>
<tr>
<th data-toggle="true">VID</th>
<th data-hide="phone,tablet">TIPO</th>
<th data-hide="phone,tablet">GRUPO</th>
</tr>
</thead>
<tbody id="MyTBody">
</tbody>
<tfoot>
<tr>
<td colspan="3">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
<!-- -->
Este es mi código Java Script:
$.ajax({
type: "POST",
url: "ws/getSaldo.asmx/get_Saldos_Men",
data: '{"Periodo": ' + Periodo + '}',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
var html = '';
var i;
var json = JSON.parse(data.d);
$('#MyTBody').html(html);
if (json.length > 0) {
for (i = 0; i < json.length; i++) {
html += '<tr>' +
'<td>' + json[i].VID + '</td>' +
'<td>' + json[i].TIPO + '</td>' +
'<td>' + json[i].GRUPO + '</td>' +
'</tr>';
}
}
$('#MyTBody').html(html);
$('.footable').footable();
},
error: function (err) {
console.log(err);
alert(err);
}
});
Reply
Close
FOOTABLE no agrupa despues de colocar una lista de Datos
El primer despliegue funciona
Al realizar actualización de datos, no hace paginación Solo pone los 26 renglones en forma de lista. (Error)
<!-- -->
<table id="MyTable" class="footable table table-stripped" data-page-size="8" data-filter=#filter>
<thead>
<tr>
<th data-toggle="true">VID</th>
<th data-hide="phone,tablet">TIPO</th>
<th data-hide="phone,tablet">GRUPO</th>
</tr>
</thead>
<tbody id="MyTBody">
</tbody>
<tfoot>
<tr>
<td colspan="3">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
<!-- -->
Este es mi código Java Script:
$.ajax({
type: "POST",
url: "ws/getSaldo.asmx/get_Saldos_Men",
data: '{"Periodo": ' + Periodo + '}',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
var html = '';
var i;
var json = JSON.parse(data.d);
$('#MyTBody').html(html);
if (json.length > 0) {
for (i = 0; i < json.length; i++) {
html += '<tr>' +
'<td>' + json[i].VID + '</td>' +
'<td>' + json[i].TIPO + '</td>' +
'<td>' + json[i].GRUPO + '</td>' +
'</tr>';
}
}
$('#MyTBody').html(html);
$('.footable').footable();
},
error: function (err) {
console.log(err);
alert(err);
}
});