【发布时间】:2016-10-25 14:27:55
【问题描述】:
如何将filter 属性添加到<iron-data-table? (请发布一个 plunk 演示。)
I forked this plunk。然后我尝试通过添加以下行来添加过滤器:
<iron-data-table
...
filter="['item.user.name.first.length', '< 5']">
这打破了笨拙。 Here is the new (now broken) plunk.
The documentation here describes the filter attribute as follows:
filter包含用于过滤项目的路径/过滤器值对的数组。
但它缺少如何使用它的示例。
如何将filter 属性添加到<iron-data-table? (请发布一个 plunk 演示。)
【问题讨论】:
标签: polymer polymer-1.0 plunker iron-data-table polymer-1.x