Hi
In RadGridTag I have :
...
<ClientSettings>
<ClientEvents OnCommand="Test"/>
</ClientSettings>
</telerik:RadGrid>
...
and Test function look like :
function Test(sender, args)
{
var grid = $find("GridName");
var MasterTable = grid.get_masterTableView();
var row = MasterTable.get_dataItems()[args.get_commandArgument()];
var cell = MasterTable.getCellByColumnUniqueName(row, "sim");
alert(cell.innerHTML);
}
I would like get new value of "sim" field after I click 'update" button on client site editing window before update grid. Now I get old data ...
I need this becurse I would like to send new data to server (SOAP) before update database.
Regards
Krzysztof
In RadGridTag I have :
...
<ClientSettings>
<ClientEvents OnCommand="Test"/>
</ClientSettings>
</telerik:RadGrid>
...
and Test function look like :
function Test(sender, args)
{
var grid = $find("GridName");
var MasterTable = grid.get_masterTableView();
var row = MasterTable.get_dataItems()[args.get_commandArgument()];
var cell = MasterTable.getCellByColumnUniqueName(row, "sim");
alert(cell.innerHTML);
}
I would like get new value of "sim" field after I click 'update" button on client site editing window before update grid. Now I get old data ...
I need this becurse I would like to send new data to server (SOAP) before update database.
Regards
Krzysztof