l-lin / angular-datatables

DataTables with Angular
https://l-lin.github.io/angular-datatables/
MIT License
1.57k stars 486 forks source link

Pagination message prob with angular way server side processing. #1570

Closed haritkumar closed 3 years ago

haritkumar commented 3 years ago

:beetle: bug report

When we select All from the page size dropdown and send -1 as page length then pagination msg looks like Showing 1 to 0 of 10

It should be 1 to 10 of 10

:microscope: Minimal Reproduction

:8ball: Expected behavior




A clear and concise description of what you expected to happen.

:camera: Screenshots

:globe_with_meridians: Your Environment

:memo: Additional context

shanmukhateja commented 3 years ago

Hi,

Page no -1 is an invalid input which is why the table is freaking out. This is an expected outcome and is not a bug per se. Please note this library is an Angular directive to the jQuery plugin. So if you still feel this is a bug, please report it to DataTables developers.

I'm closing this issue as there's nothing that can be done.