Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Fix ng pipe and TemplateRef for tables with invisible columns #1722

Closed
wants to merge 1 commit into from
Closed

Fix ng pipe and TemplateRef for tables with invisible columns #1722

wants to merge 1 commit into from

Conversation

khicks
Copy link

@khicks khicks commented Apr 3, 2023

When applying Angular features like pipe and TemplateRef on a table with invisible columns, there is a discrepancy between the column definition and the resulting HTML. The library makes reference to the resulting HTML when modifying the table and assumes invisible columns are present in the DOM.

This proposed fix ensures that only visible columns are considered when deciding which column(s) to modify when applying pipe transforms or templates.

@khicks
Copy link
Author

khicks commented Apr 3, 2023

Fixes issue #1721.

@shanmukhateja
Copy link
Collaborator

Can you add a unit test for this so we don't run into it in the future?

@shanmukhateja
Copy link
Collaborator

@khicks any update on this?

@shanmukhateja
Copy link
Collaborator

Closing in favor of #1725

@khicks khicks deleted the fix/ng-features-invisible-columns branch April 10, 2023 15:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants