I have used footable table plugins when I search the value from a table if value not there in table no records found error message not shown
<script src=""></script>
<script>
var defaults = {
paginate: true,
pageSize: 25,
pageNavigation: '.pagination',
pageNavigationSize: 5, // mention the number how many page numbers you want to display.
firstText: '«',
previousText: '‹',
nextText: '›',
lastText: '»',
limitNavigation: 0,
limitPreviousText: '...',
limitNextText: '...'
};
$('#demo-foo-row-toggler').footable();
// Search input
$('#demo-foo-search').on('input', function(e) {
e.preventDefault();
filtering.trigger('footable_filter', { filter: $(this).val() });
});
</script>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire