I'm submitting a ... (check one with "x")
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior
I have set up a detail row on my datatable and am applying a filter using a pipe i.e.
[rows]="myList | myfilter"
the detail row does not show when the row expand is triggered using
"this.table.rowDetail.toggleExpandRow(row);"
Expected behavior
the rows list would be filtered by the pipe and the expanded row would correctly show when triggered.
Reproduction of the problem
Add a filter function as a pipe to existing row array binding.
What is the motivation / use case for changing the behavior?
using a filter to reduce the number of rows returned speeds up the grid, need to apply a detail section as the row contains too many columns
Please tell us about your environment:
Windows, angular 4.3.6
Table version: 0.8.x
^10.2.3
Angular version: 2.0.x
4.3.6
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
ALL
Language: [all | TypeScript X.X | ES6/7 | ES5]
Typescript 2.4
I was able to reproduce this exact issue today. I ended up taking the pipe out of the rows object for now.
Thanks for confirming this issue.
I ran into this problem today. Rows being filtered through a pipe can't be expanded (let-expanded is always false). Would love to see this addressed!
+1
Any progress / fix on this?
Having same problem in v15
see issue #1612
I have it fixed by using the tmp repo suggested in #1612
Most helpful comment
I ran into this problem today. Rows being filtered through a pipe can't be expanded (let-expanded is always false). Would love to see this addressed!