[TAdvStringGrid] Check if a row is modified

I'm using TAdvStringGrid (v5.8.7.0) displaying some rows and columns. When changing some cells manually and use 'AdvStringGrid->Modified', I receive the proper information. But when I try to call 'RowModified' nothing seems to happen. I use the following code:

if(AdvStringGrid->Modified == true) ShowMessage("Modified"); // Shows result when is modified
  
ShowMessage(Grid->ModifiedRowCount()); // Always zero

for(int i=0; i<AdvStringGrid->RowCount; i++)
  {
    if(AdvStringGrid->RowModified == true) ShowMessage("Row " + IntToStr(i) + " is modified"); // No result
  }


Can you please inform me what's wrong? Thank you in advance.

Sorry for this post. I found already a solution.

void __fastcall TForm1::AdvStringGridEditCellDone(TObject *Sender, int ACol, int ARow)
{
  ((TAdvStringGrid *)Sender)->RowModified[ARow] = true;
}