bluewatertracks / bwt-datatable

Data table with Polymer 3 support!
GNU General Public License v3.0
42 stars 14 forks source link

Sortable not working #60

Open gaxolio opened 4 years ago

gaxolio commented 4 years ago

Hi @dhrytsenko , I have the same problem of @etanuvar . Mi env is: polymer 3. (version 3.4.1) bwt-datatable 3.0.0. nodejs v.12.16.3 express v.4.17.1 I have seen your example but I don't need a paper-datatable-card. I use a simple table that I have to sort on a column. for example, I only have two lines that I want to order. Following the code to the function _internalSort on line 1088: this.set("_rowKeys", this._rowKeys); value of this._rowKeys are correctly sorted ascending or descending. ["#0", "#1"] or ["#1", "#0"] but the table is not updated. In the previous version the update worked. I have attached a piece of html code as an example. Thanks

datatable.txt

Originally posted by @gaxolio in https://github.com/bluewatertracks/bwt-datatable/issues/46#issuecomment-644627421