List grid-unsaved data

Hi,

How can we find out whether the listgrid has any unsaved data available?

I used getAllEditRows and tried to find the length. But, after the save is performed and focus comes back to screen also, getAllEditRows is giving more than 0.

Thanks,
Sravanthi

void hasChanges ()

Whether the grid as a whole has any unsaved edits, in any row.