setChangedRows

I want to make the row as a changed explicitly.
I have tried with this code

    mygrid.cells(rowid,colind).setValue(data);
      
    mygrid.selectCell(rowind,colind,false,false,edit);

it puts the cell in the edit mode but the respective row is not coming in the getChangedRows list
Is there any function like setChangedRows?