daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 519 forks source link

Pagination: No option for unknown total #468

Open andrewtytula opened 8 years ago

andrewtytula commented 8 years ago

For a query of undefined number of pages, the next and previous buttons are always disabled and the pagination text doesn't work. If you are on the first page the previous button should be disabled, but the next button should always be enabled, or at least controllable by a variable. The "of {{total}}" text should be removed in this case.

Expected outcome: "30-40 < >"