grid with popup

Can we use the new dhtmlxpopup object when editing a grid’s cell?

You may try to use the onEditCell event to call the dhtmlxPopUp.
Here is the example of the code:

[code] mygrid.attachEvent(“onEditCell”, function(stage,rId,cInd,nValue,oValue){
if (stage==1){
var x = getAbsoluteLeft(this.editor.obj);
var y = getAbsoluteTop(this.editor.obj);
var w = this.editor.obj.offsetWidth;
var h = this.editor.obj.offsetHeight;
myPop.show(x,y,w,h);
}
if (stage==2){
myPop.hide();
}

    return true;
});[/code]

Thanks I will try it

it worked! thanks!