Posted 3 May 2018, 3:54 am EST
Hi,
var range = this.flex.selection; var index = range.row; var item = this.flex.collectionView.items[index]; item['amount'].push({var:0}); item['idIndicator'].push({var:'One'}); this.flex.collectionView.refresh(); this.flex.autoSizeRow(range.row);
I am trying to add items to the collectionview and use “refresh” method to refresh the grid. Grid does not refresh consistently.
Please find attached my code. I have added this code to “AddStep” method on the context menu.
Thanks