DHTMLX Grid : How to get id of the last added row

Hi,

I want the id of the last added row in the grid, how to get that ?

The component can’t provide such info, the ID of last row can be taken
      grid.getRowId(mygrid.getRowsNum()-1);
but it just a last row in grid, not the last added row