8000 ngTemplateRef does not work on responsive windows-mode when columns are stacked · Issue #1772 · l-lin/angular-datatables · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
ngTemplateRef does not work on responsive windows-mode when columns are stacked #1772
Open
@lingold-gseb

Description

@lingold-gseb

🪲 bug report

When I use the responsive extension, it only shows the plain text from the source and not the template-version if the windows size is in responsive mode. Back in full window size mode the template is rendered as expected.

Is there a way to fix my problem with code adjustments or is this a bug? Thanks for the support!

🔬 Minimal Reproduction

StackBlitz/GitHub Link:
https://stackblitz.com/edit/stackblitz-starters-rx7mzq?file=package.json
Step-by-step Instructions:
Minimize and maximize the window on StackBlitz to see the difference.

🎱 Expected behavior

The ngTemplateRef column should display the referenced template and not the pure rendered text from the source, in the same way as it displays the content for non-stacked/-responsive views.

📷 Screenshots

Normal View - component shown:
image
Responsive - plain data text shown:
image

📝 Additional context

see closed issue: #1723
columnDefs does not solve the issue with the rendering on responsive mode.

Metadata

Metadata

Assignees

Labels

bugpinnedIssues to be ignored by Stalebot

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0