Toggle the pagination option: $table.bootstrapTable('togglePagination');
$table.bootstrapTable('togglePagination');