Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

689
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!