Popular
Newest
Updated
Sign in
Create an account
Categories
Admin Templates
204
Multipurpose Templates
164
Landing Pages
157
Portfolios & Resumes
86
Ecommerce
46
Blogs & Magazines
26
Directories & Listings
26
UI Kits & Website Builders
10
Documentation
5
Specialty
106
Topics
General
277
Business & Corporate
122
Design & Creative Services
114
Apps & Software
54
Retail & Shopping
35
Startups & SaaS
27
Marketing & Conversion
21
Restaurants & Cafes
17
Education & Learning
16
Finance & Accounting
16
See all →
Compatible with
Bootstrap
779
Tailwind CSS
46
PHP
42
React
42
Laravel
26
Python
24
Angular
23
Vue.js
22
Django
20
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);
}
});