How alert when update in grid .......

I have a grid, in page put button update onclick execute myDataProcessor.sendData() for make transaction in database.
But I user dont click in this button dont execute this update.
How make for alert to user when change in grid some row but dont make change in database because dont click in button update?

I need something indicate user that change are only in grid but dont in database?

You have some idea for solution this?

Thanks for your help,

You can use DataProcessor’s events. Please check here … sor:events … mmon_tasks

Dear Olga,

Thanks for information.
I have dude how event use for applicate some this:

if (myDataProcessor.getSyncState())
alert(“all rows updated”)
alert(“NO rows updated”)

Simply I want close page o make other action notify dont update row with change.