Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click do not work when ngFor is declared #2153

Open
guuipauuli opened this issue Jun 9, 2023 · 0 comments
Open

Click do not work when ngFor is declared #2153

guuipauuli opened this issue Jun 9, 2023 · 0 comments

Comments

@guuipauuli
Copy link

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

(click) do not work when ngFor is declared in ngx-datatable-column

Reproduction of the problem

<ngx-datatable-column *ngFor="let column of columns; let i = index;" [name]="column.name" [prop]="column.prop">
 <ng-template let-value="value" let-row="row" ngx-datatable-cell-template>
 <button (click)="action(row)">click me
 </button>
 </ng-template> </ngx-datatable-column>

Please tell us about your environment:

  • Operating system:
    mac OS Ventura 13.4 and windows 11

  • Table version:
    ˆ20.1.0

  • Angular version:
    16.0.5

  • Browser:
    Chrome

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant