Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

691
Vistas
In ag-grid using angular2 gridOptions.api.refreshView() is not updating the grid data

On an Edit button click I'm reconfiguring gridOptions by setting the editable property of columns to true and making several other data changes. The gridOptions property is updated correctly however on calling this.gridOptions.api.refreshView() inside AfterContentChecked lifecycle event of Angular 2 the grid view is not getting updated.

Thanks.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Most gridOption properties are read once at grid initialization and not again.

If you want to update data you'll need to use the api (ie api.setRowData for blanket changes, or see the refresh docs ( https://www.ag-grid.com/javascript-grid-refresh/ ) for more lower level editing options.

For column editing, the editable property can be a function, which could read some other data to determine if a column/cell is editable.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda