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

Collapse/Expand item - accept item index #179

Open codekrolik opened 7 years ago

codekrolik commented 7 years ago

Please update Collapse/Expand item API to make it 1) Standard: Collapse/Expand item should accept same parameters as select/deselect item methods do. Namely: Collapse/Expand item should accept item index as a parameter. Same as in : selectItem(item) - item (Object|number)

2) Usable from DART Dart makes it non-trivial to use item JavaScript Object as a parameter. Especially some dynamically generated JavaScript Object as a parameter - please don't make DART users work around it.

codekrolik commented 7 years ago