Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

119
Visualizações
How to refresh parent table, when edit selected in drawer

I have used below example in my code to edit table record in drawer -

https://ng-alain.com/components/st/en?#components-st-buttons

I have succeed to open and edit record inside drawer and closed it, all is fine up to here. But main issue is that "How can I refresh parent table after drawer get closed.

I have tried few thing from documentation but it wont help for me, also emitted event from child component but its not get received/catched in parent component.

Any help, hint will be appreciated. :)

 buttons: [
          {
            icon: 'edit',
            tooltip: `Edit`,
            click: (_record, drawer) => this.onEditClick(_record, drawer),
            type: 'drawer',
            afterClose: (x:any)=>{console.log('panel closed',x);},
            drawer: {
              component: EditComponent,
              params: (record: STData) => {return record},
              paramsName: 'record',
              drawerOptions: {
                nzTitle: 'Edit',
                nzWidth: '20%',
                nzClosable: true,
                nzMaskClosable: true,
              }
            },   
          }]
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda