When defining a `filter-by` on a data-table like we do:
<nuxeo-data-table-column name="[[i18n('documentContentView.datatable.header.title')]]" field="dc:title" sort-by="dc:title" filter-by="title" flex="100"> <template> <nuxeo-document-thumbnail document="[[item]]"></nuxeo-document-thumbnail> <a class="title ellipsis" href$="[[urlFor('browse', item.path)]]" on-tap="_navigate">[[item.title]]</a> </template> </nuxeo-data-table-column>
it is supposed to insert a paper-input thanks to https://github.com/nuxeo/nuxeo-ui-elements/blob/master/nuxeo-data-table/data-table-column.html#L113 (and/or the column name)
This name or input for filtering are retrieved in https://github.com/nuxeo/nuxeo-ui-elements/blob/master/nuxeo-data-table/data-table-column.html#L6
but we did not report this resolution in https://github.com/nuxeo/nuxeo-ui-elements/commit/bf18830d799f70eac3f94f49f3678d06fb8ae610#diff-9060aaa43a8ea301aea1b02b389e971bL102
Indeed,
Polymer.dom(this.root).querySelector('#header');
does not return anything in polymer2 anymore