Não estou conseguindo atulalizar a grade no html <mat-table> #1860
Unanswered
guilhermecostalopes
asked this question in
Perguntas e Respostas
Replies: 1 comment
-
Bom dia @guilhermecostalopes acredito que o problema esteja por que você está dando push na propriedade Testa dar push no |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Formulario.ts
formulario.html
No método adicionarMarketPlaces(), ele adiciona corretamente tanto no array this.marketPlacesGrade.push(emmkpg); e this.dataSource.data.push(emmkpg);.
Mas não atualiza a tabela no html.
Tentei assim:
<mat-table [dataSource]="dataSource">
e<mat-table [dataSource]="marketPlacesGrade">
.O que pode ser ?
Beta Was this translation helpful? Give feedback.
All reactions