question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

row detail does not work if the rows object is passed into a pipe

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

3reactions
cbstewart9393commented, Feb 22, 2018

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!

0reactions
rauwebietencommented, Jun 21, 2019

I have it fixed by using the tmp repo suggested in #1612

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular ag-grid can not add new rows with async pipe
I need to change routes or reload the page and then I can see the new row. Although if I empty the subject...
Read more >
18 Pipes | R for Data Science
18.1 Introduction Pipes are a powerful tool for clearly expressing a sequence of multiple operations. So far, you've been using them without knowing...
Read more >
Data wrangling with dplyr and magrittr - UofT Coders
Given the dplyr concept of each function taking in a data frame and returning a modified version, it made a lot of sense...
Read more >
13 Using Pipelined and Parallel Table Functions
The PIPE ROW statement may be used only in the body of pipelined table functions; an error is raised if it is used...
Read more >
Pipelined Table Functions - Oracle Base
Pipelined table functions include the PIPELINED clause and use the PIPE ROW call to push rows out of the function as soon as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found