Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Aug 11, 2009 04:26
open dhtmlx forum
show alert Message after Insert, Update and Delete

hi
I am using 2.1version of Dhtmlx Grid.I want to show a friendly alert message after insert, update or deleted.
After insert alert("The row is successfully Inserted");
After Delete alert("The row is successfully Delete");
After update alert("The row is successfully Update");
thanks in advance plz reply me as soon as possible..


Thanking you
Rajendra Bhattacharya
Answer posted by Support on Aug 11, 2009 10:02
You can use onAfterUpdate event of dataprocessor

dp.attachEvent("onAfterUpdate",function(sid,action,tid){
    if (action!="error")
              alert("The "+action+" operation is successfully finished.");
})