Clearing changed state in grid

I have a grid where I am editing data and creating new rows.
After creating a row, I am saving the data and clearing changed state by calling


However, when I reload and call grid.getChangedRows(true);, I still get the newly added rows.
On debugging, I found that, in the following line:

a && e._added ? c[c.length] = e.idd : b(e) || b(f)

e_added is true for the created rows.
Even after a grid reload,e_added remains true for the newly created rows.

When I clearChangedState, I should not get any rows when I call getChangedRows(true) . Is there any way I can achieve this?

I agree, this is a bug and will be fixed in the next update
For now you can use something like next in addition to the clearChangedState

grid.forEachRow(function(id){ delete grid.rowsAr[id]._added; });