Comments (4)
@makrolabs Just for my understanding, could you outline an example where this is useful? I am quite open to implementing this, but at least I wish to understand and confirm the kind of situation where this makes sense.
from paper-datatable.
hi david, an example use case would be Google Drive. If you click on the column headers, they only allow one sorting direction. Often it does not add value to have Z-A sorting. In the current implementation it often requires a double click to select the correct order.
from paper-datatable.
@makrolabs Well, Google Drive every sortable column sorts in both directions? I am not sure what you're seeing, but checking both the oldest and the newest files is valuable, as is - to a lesser extent - sorting the name from Z-A.
from paper-datatable.
Closing this issue for the time being as feature requesters example use case actually didn't implement the feature. Regarding the double click, I think I fixed a bug along the way where I changed the default sorting direction and you can pre-set a sort-direction
on a column (though on click it will switch, so you want to set the opposite sorting direction) thus optimizing the user experience even further.
from paper-datatable.
Related Issues (20)
- Is there a easy way to add a datatable-card with pagination?? HOT 2
- Access index of Item in the displayed item list HOT 1
- Is this project no longer being maintained? HOT 1
- href not working HOT 1
- Modify CSS paper-tooltip in paper-datatable-column
- Is there a way to know the new value right after the cell was edited? HOT 1
- npm package? HOT 1
- Question : How to set autosize for `paper-datatable-column` ?
- Null items in the list object items makes all the other items not be previewied HOT 4
- How to add empty row and bind it back to VM?
- How to hide header? HOT 1
- Don't fix Polymer version HOT 1
- npm support ? HOT 3
- Allow adding rows HOT 2
- Issue while sorting columns HOT 4
- Modify cell style on a per cell basis
- Deselectall() is not working , after delete the row still the row is marked as 1item selected
- Rows per page filtering takes too much time
- Personal Contact
- paper-datatable-card not working in polymer 3 HOT 1
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 paper-datatable.