on update of multiple row of grid show only message

on update of multiple row of grid show only message if the last row is finished. means only one time message is shows like ‘your database is updated’
i have use dp.attachEvents(“onAfterUpdateFinish”,funtion()
{
alert(‘updated’);
})

this is called many times , like if i update 4 rows it show four times message.
i like only on time of last row updation.

thanks.

onAfterUpdateFinish is executed after each successful request to the server ( if you are using send-rows-one-by-one mode it may be executed multiple times )

You can try onFullSync event