How can I update a table using ajax
,
I have the following table:
$("#venta").bootstrapTable({
url:'<?= base_url(); ?>index.php/ejemlo/usuarios/datos'
columns:[
{field: 'reStatus'},
{field: 'ocTipoUs'},
{field: 'faClave'},
{field: 'tiPeso'},
{field: 'inpo'}
],
pagination: true,
showFooter: true,
search: true,
showExport:true,
filter: true,
method: 'post',
showRefresh:true,
pageList:[10, 25, 50, 100, 'All'],
showPaginationSwitch: true
});
});
The table is formed with the data of json
, the problem is to apply a filter of dates, I send the data, the query is made and it brings me the new data but I do not know how I can paint the table with the new ones data of json
.