Home ng-bootstrap progress bar not updating
Reply: 0

ng-bootstrap progress bar not updating

user828 Published in March 20, 2018, 3:18 pm

I'm using ng-bootstrap's progress bar, and while it renders initially, in my loop where I'm making some updates, neither the console.log nor the progress bar is updated until the function exits.

The body of the loop is updating cells in a jqWidgets grid, but I don't think there's anything there that would block, but I'm not sure how to debug this.

if (rowsToUpdate.length !== 0) {
          rowsToUpdate.forEach((rowIndex: number) => {
            this.dqGrid.setcellvalue(rowIndex, 'rejected', newRejectedFieldValue);
            numRowsUpdated += 1;
            if (numRowsUpdated % 10 === 0) {
              this.savingProgress = Math.ceil(numRowsUpdated / rowsToUpdate.length * 100);
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.33101 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO