I am showing a table using Bootstrap-table.js, with 10000 records it works but when I try to show more records (1 million), it tries to load and at the end it ends and it does not show.
The table has the following options defined:
data-toolbar="#toolbar"
data-url="http://localhost/proyecto/dame_registros"
data-search='true'
data-toggle='mi-tabla'
data-show-toggle='true'
data-show-columns='true'
data-show-refresh='true'
data-show-pagination-switch='true'
data-pagination='true'
data-page-list='[5, 10, 20, ALL]'
data-sort-name='received'
data-sort-order='desc'
And the call in the js file is as follows:
$('#mi-tabla').bootstrapTable({
columns: [
{
field: 'id',
title: 'ID',
align: 'center',
valign: 'middle'
},
{
field: 'received',
title: 'Received',
align: 'center',
sortable: true,
valign: 'middle'
},
{
field: 'firstname',
title: 'Firstname',
align: 'center',
valign: 'middle'
},
{
field: 'lastname',
title: 'Lastname',
align: 'center',
valign: 'middle'
}
]
});
I am attentive to any idea, solution or suggestion.