Saulis / iron-data-table

iron-data-table is a Web Component for displaying data as a table or grid. Built on top of iron-list using Polymer.
Apache License 2.0
147 stars 65 forks source link

Added properties to disable multi sorting and enable column reordering by dragging headers #143

Closed oskip closed 8 years ago

oskip commented 8 years ago

Column drag and drop reordering works properly when "order" property has been set for each column. Demo with column reordering via input value has a similar behavior (column with undefined order are to the left of columns with set order), so it should be expected. I added some minimalistic on-drag column header styling, but in future some css mixins can be added. Works only for desktop.


This change is Reviewable

Saulis commented 8 years ago

Cool! I'll take a look at this asap

Saulis commented 8 years ago

Didn't mean to scare you off, I'm happy to help you out if you want! Please don't go :-)

oskip commented 8 years ago

I will update this PR as soon as I find a spare moment :)

Saulis commented 8 years ago

Great! Thanks!