Hi
I am using ultrawebgrid edit template for editing some values from the row.
I am using the sample from the below link http://samples.infragistics.com/2009.1/WebFeatureBrowser/Default.aspx (RowTemplates).
I done the same way and able to edit the row contenet from the Edit template pop up.
I am using the below function to update the grid cell values after clicking ok button from the edit template.
function AfterRowTemplateCloseHandler(gridName, rowId) {
var FullName = igtbl_getElementById("uwgClaimsList_ctl00_txtFullName");
gridRow.getCell(1).setValue(FullName.value);
}
I have a Save button out side the ultrawebgrid to update the grid changes to an object collection.
when I am tried to retrieve the value from the grid cell using
foreach (UltraGridRow row in uwgClaimsList.Rows)
{
objectCollection[row.Index].FullName = row.Cells.FromKey("FullName").Text;
The value of the right hand side the same old value before editing using edit template.
Why its not keeping the value when we set using gridRow.getCell(1).setValue(FullName.value);
Regards
Vini
Hi,
Where do you get reference of gridRow variable used in AfterRowTemplateCloseHandler?
Try adding these liles in the same event handler
var gridRow = igtbl_getRowById(rowId);
Let me know if this works.
Greetings
I am using the the client side events as
<ClientSideEvents BeforeRowTemplateOpenHandler="BeforeRowTemplateOpenHandler" AfterRowTemplateCloseHandler="AfterRowTemplateCloseHandler" > </ClientSideEvents>
and that calls
function AfterRowTemplateCloseHandler(gridName, rowId)
Hope you got my last mail about my mistake, once again thanks a lot..
I am not sure what the out come of my first reply is. But I hope you had changed that function as below.
Also check is there any java script error displayed on the statusbar of browser?
Please let me know if this solves your issue.