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

Shady DOM classes are not applied to data-table-row-detail #106

Closed web-padawan closed 8 years ago

web-padawan commented 8 years ago

When not using native shadow DOM, data-table-row-detail elements are supposed to be placed outside the local dom of iron-data-table.

But shady DOM classes are not applied at all, which breaks styling (take a look at empty class):

detail

It seems that adding following strings (copied from data-table-cell) fixes that:

          if (this.domHost) {
            Polymer.StyleTransformer.dom(this, this.domHost.tagName.toLowerCase(), this._scopeCssViaAttr, false);
          }
Saulis commented 8 years ago

Thanks!