stevenrskelton / sortable-table

Polymer Web Component that generates a sortable <table> from inlined or AJAX JSON, JSON5, and arrays.
https://stevenrskelton.github.io/sortable-table/
MIT License
196 stars 37 forks source link

Using binding in <sortable-column> does not work. #19

Closed mwinters-stuff closed 10 years ago

mwinters-stuff commented 10 years ago

Was expecting the following to work..

  <sortable-column name="machine">{{selectedMachineTypeItem.label}}</sortable-column>
  <sortable-column name="status" title="{{trl['status']}}"></sortable-column>

All I get is the value of "name" and not the "title" value.. It seems the data is bound at initialization time, when these values are set the binding is lost....

stevenrskelton commented 10 years ago

Thanks for the feedback. I've created a test page for this @ http://files.stevenskelton.ca/sortable-table/examples/dom-elements.html

I'll hold off making a new bower release until I can check this hasn't broken anything.