Posted 14 July 2020, 11:38 am EST
Hi,
In my wijmo flexgrid (having pagination) , at some point i need to update one or more rows inside the flexgrid.
In the dataItem of each row i have a unique id. according to that i need to find the specific row and need to update that row in the grid. (using angular)
In my html— [itemsSource]=“invoiceItemsSource”
and in component.ts file
this.invoiceItemsSource = new CollectionView(this.Data);
this.invoiceItemsSource.pageSize = 10;
I tried the below code
for(let i=0; i < this.flexTable.rows.length;i++){
if(this.flexTable.rows[i].dataItem.id == initialTechId){
this.flexTable.rows[i].dataItem=data;
this.flexTable.refreshCells(true);
break;
}
}
but it only works for the current page. if the row is in next page how to upadte that …currently i am getting only current 10 rows.
Thanks,
Teenu