onEditCell

hi,



regarding onEditCell event…

in your documentation, it is stated that there are 3 stage…before start,opened, closed…something like that…

is there a way to know which stage it is in…

actually im planning to execute a function as it opens…

and also probably as it closes…using two different functions…



thank you in advance for the help…

The onEditCell event provides stage value as first parameter of event handler

grid.attachEvent(“onEditCell”,function(stage,id,ind){
    if (stage==0)

        alert(“row “+id+”, edit started”);
    if (stage==1)

        alert(“row “+id+”, editor ready”);
    if (stage==2)

        alert(“row “+id+”, editor closed”);

    return true;
});