Posted 7 May 2018, 8:54 pm EST
Hi,
As per my implementation I have to add rows using modal popup and the new row template should be on top always
I tried like this
grid.beginUpdate();
var item = grid.collectionView.addNew();
item.name = ‘test data’;
grid.collectionView.commitNew();
grid.endUpdate();
even though I have added new-row-at-top=“true” on grid but still the new row is getting to bottom after adding the row using above code.
thanks,
Waheed