Comments (6)
This would be cool. Maybe something like Angular UI Bootstrap has: http://angular-ui.github.io/bootstrap/#/pagination Note how it works when you limit the maximum visible buttons.
from md-data-table.
I'm against the way bootstrap does pagination by displaying the page numbers, this does not work well on mobile. Instead I was planing on adding another drop down menu to select the page like how the 'rows per page' is selected.
This of course will be opted into via an additional attribute. I plan on removing the first and last page links by default and making them opted into as well.
from md-data-table.
OK, I understand about the bootstrap thing.
I do have another idea, though. What about replacing the '10-15 of 24' with 'Page 3 of 5' and then making the 3 a select like it is for per-row. Essentially I'm talking about how pagination works here, but without the bootstrap-like thingy and the click on page counter is an md-select instead of a enter a page number. So '<< < page 249 of 660 > >>'.
from md-data-table.
They might not know the page is selectable though unless we show a drop down arrow next to the current page number.
from md-data-table.
is this not the md-page-select
? If it is, you can close this issue.
from md-data-table.
@leocaseiro yes, thanks.
from md-data-table.
Related Issues (20)
- Global setting
- How to select all rows? HOT 8
- Exclude certain rows from sorting
- Please bump version and publish to npm
- Custom cell disable using value - Md-data-table - AngularJS
- Sorting when using md-virtual-repeat and md-on-demand
- how can i have a fixed header when using md-vritual-repeat-conatiner
- Missing rows with mdVirtualRepeat
- Sticky column HOT 2
- Multiple parameter ordering HOT 1
- Refresh data table after edit, add, update.
- $mdEditDialog large throws an error while calling $http service on save.
- how to print md data table without order by arrow icon HOT 1
- Pagination localisation options are insufficient
- Live Demo has security breach (Kinda) HOT 3
- maintain sorting state in and out of session
- md-table-pagination not working for server side binding(other than page 1) HOT 1
- Selectable Columns Callback is not working
- Get limited data from server rather binding all data
- Bring md-select selected from server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from md-data-table.