confusion about grid post back and getCellText
Hi When I run the following code, I get the request back to my server as expected:
The obj is a grid.
obj.onControlClicked = function(){
var r = new AW.HTTP.Request;
r.setURL("userAccounts.cs1");
r.setRequestMethod("POST");
r.setParameter("col", obj.getCurrentColumn());
r.setParameter("row", obj.getCurrentRow());
//r.setParameter("txt", obj.getCellText(1,1));
if(obj.getCurrentColumn()==6){r.request();}
}
But when I remove the // to run the getCellText function, it will not post the request back to my server. Please please please help me, why is it not posting? I need to get the current column, the current row and the text from one of the cells, specifically, col 1 and row 1 text.
Thanks in advance.
Craig
The obj is a grid.
obj.onControlClicked = function(){
var r = new AW.HTTP.Request;
r.setURL("userAccounts.cs1");
r.setRequestMethod("POST");
r.setParameter("col", obj.getCurrentColumn());
r.setParameter("row", obj.getCurrentRow());
//r.setParameter("txt", obj.getCellText(1,1));
if(obj.getCurrentColumn()==6){r.request();}
}
But when I remove the // to run the getCellText function, it will not post the request back to my server. Please please please help me, why is it not posting? I need to get the current column, the current row and the text from one of the cells, specifically, col 1 and row 1 text.
Thanks in advance.
Craig
Craig
January 30,