Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jan 03, 2010 21:57
open dhtmlx forum
show dat withreferesh the popup window

Hello,



i am using the blow code for open the popup window but when i close the button of popup window then it will refresh the page and show the dat i want when i submit the button then directly it will show me data in my column . i dnt want to refresh the page.





mygrid.attachEvent("onRowSelect",function(row_id,column_index){

//alert(column_index);

if(column_index==1)

{

var projIDnew=projid;

var value1 = this.cells(row_id,3).getValue();

window.open("newTask.php?shotID="+value1+"&projID="+projIDnew,"mywindow","width=1300,height=290,resizable=1,scrolling=0,top=0");

}



})





please tell me what i do in dhtmlxgrid







waiting for reply





regards

Suraj
Answer posted by Alex (support) on Jan 04, 2010 05:35

Hello,

you can use updateFromXML method to update grid without page refreshing:

http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/12_initialization_loading/04_grid_refresh.html