Closed RezaErfani67 closed 6 years ago
Hi, I ran into the same problem, and this worked for me. Hope it helps you too
$.extend($.fn.bootgrid.Constructor.defaults, {
css: {
pagination: "pagination",
paginationButton: "page-link",
},
templates: {
pagination: '<ul class="{{css.pagination}} pagination-sm"></ul>',
paginationItem: '<li class="page-item"><a class="page-link" data-page="{{ctx.page}}">{{ctx.text}}</a></li>'
}
});
It's a pitty that bootgrid is so discontinued from the creator. Does anybody a working project like bootgrid that has mantainment and woks so fine as bootgrid? I'll think to change to that plugin. Thanks!
@canchito-dev I don't know but your code doesn't works for me, only if I put your code inside the main grid object constructor, but I need to place on every grid I create. I place into the loaded event ($(function(){ ............ });)
pagination is not looks properly with bootstrap 4