Posted 26 November 2020, 3:51 am EST
Hi,
I’m using flexGrid 5.20203.748 on angular 9.
some user actions on the grid trigger functions that update multiple cells on the grid.
the way the updating is done is by accessing the dataItem property on a grid row, addressing a specific key, and updating its value.
here’s an example of multiplying all values in a specific column by 2:
for(let i=1; I<flexGrid.rows.length;i++){
const dataItem = flexGrid.rows[i] .dataItem;
dataItem["QTY"]= dataItem["QTY"]*2;
}
on the previous flexgrid version, the grid would display the updated value after the function would complete, but in the current version the grid doesn’t reflect the changes, and the cells keep their previous values.
what am I missing here?
thanks,
Nir