:: Forum >> Version 2 >>

Grid Not Refreshing after Delete method called

Hi,
I have a Delete Button, and I am calling a delete method which in turns calles Action Class in the server to perform the real delete

var r = new AW.HTTP.Request;
r.setURL("http://localhost:8080/grokkeradmin/ManageAdministrators_deleterows.action");
r.setRequestMethod("POST");
r.setParameter("primKeys", primKeys);
r.request();
r.response = function(data){
//alert(data); // process response data
}

//ajax calls
//UsersGrid.deleteRow(value);
//alert("refresh");

//UsersGrid.refresh();
//UsersGrid.clear();
//UsersGrid.setCellText(UsersData);

return;
}


This delete function is working property, i mean it is deleting the selected records from the database, and storing new object in the request object.

But I am having problems with refreshing grid.
I am populating the grid from javascript array objects which I am getting from the request object.
Siddhartha Sankar Bhattacharjee<ssbavi@gmail.com>
Tuesday, May 8, 2007



This topic is archived.

Back to support forum

Forum search