The usage is pretty straightforward; here is my code:
var changed = mygrid.getChangedRows(true);
alert(changed);
if (changed) { ...... }
else { alert("nothing changed!"); }
The first alert shows nothing and the second one actually is activated. This happens after I make a change in a row (and the row gets highlighted).