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 66 forks source link

Programmatically setting sortOrder right after setting items array does not have any effect #200

Open akshayeshenoi opened 7 years ago

akshayeshenoi commented 7 years ago

Hi,

When I try to restore the filter/sort state of the table I previously set, the sort state doesn't seem to reflect after the table is rendered. I suspect this might be because the items are lazily loaded. Is there a way (a callback?) where I can restore the state after the items have been loaded. Essentially, sort the table after the items have been loaded.

Thanks.