Git Product home page Git Product logo

Comments (2)

David-Mulder avatar David-Mulder commented on July 23, 2024

Regarding vertical overflow: Nope, this is not supported. There are two main reasons for this:

  • It would only be theoretically possible with resize-behavior="fixed", a property that isn't entirely working yet ( #43 )
  • If I would implement such a thing I should implement it with <iron-list> to make sure you don't get a huge DOM... however doing this would be... well, ridiculously hard. Simply put you would need to make your own <iron-list> and your own <table>... both pretty complex elements.

Regarding horizontal overflow: Per the official Material Design spec I attempt supporting two different resize behaviors. The default one is the one used by <table>'s naturally and should show a horizontal scrollbar if the table doesn't fit the viewport. The fixed option should simply overflow the content of the table and will not show a scrollbar. This mode isn't fully supported yet however (awaiting a fix on an external bug in Polymer). Additionally I hope to support a third mode at some point that will hide/show columns depending on the available space, which depends on #39 first.

Here is a link to both behaviors side by side: http://david-mulder.github.io/paper-datatable/components/paper-datatable/demo/resize-behavior.html (not linked from the menu of demo's yet till #43 gets fixed).

from paper-datatable.

David-Mulder avatar David-Mulder commented on July 23, 2024

Considering this is a [question] and you haven't commeted in a week I will assume it's been answered.

from paper-datatable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.