Open talamaska opened 7 years ago
This would be a nice feature, yes.
I have some findings. I use template-pagination attribute in order to change the html the template is pointing to, but just to actually make an empty template and completely wipe out the integrated paging. So i have made my own paging that is using the ngTableParams. method 'page' . It's not hard to make the math with the given data of items per page(.count) and total items(.total) So my paging looks like this. Btw i have encapsulated everything in my own component, I'm using ngTableDynamic and I'm massing params from outside, like for example which url to use for the requests in getData
I've found that there is an attribute templatePagination to ng-Table I guess I have to check how the current pagination is done in order to prepare a template. Is there any way that we can actually set templateUrl? It seems there are missing docs for the custom pagination. i don't need all the pages shown, just buttons for prev, next and current