Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1360
Possible Bug in RowEditing_TemplateClosed
posted

I wish to intercept the closure of a WebDataGrid editing template. I have the following JavaScript function:

function WebDataGrid1_RowEditing_TemplateClosed(sender, eventArgs) {
//<param name="sender" type="Infragistics.Web.UI.WebDataGrid"></param>
//<param name="eventArgs" type="Infragistics.Web.UI.EditRowEventArgs"></param>

 var theRow = eventArgs.get_row();
 if (theRow != null) {
   .. do stuff
 }
}

The problem is that although the event is called, eventArgs.get_row() always returns null. Fortunately there is a simple workaround because I can store the row in a variable when event RowEditing_TemplateOpened is called. (This event does pass a reference to the row correctly.) Thought you guys would like to know.

 

Cheers

Paul

IG 2010.3 

  • 8160
    posted

    Hello Paul,

    this issue has been resolved. To get fix for this just download the latest service release. It is resolved in versions 10.1, 10.2, 10.3, 11.1

  • 33839
    Suggested Answer
    posted

    Hi Paul,

    I've submitted this internally as bug # 64814.  If you contact developer support, they can attach your case to this bug and be notified when it is fixed and release.  As Hristo said, thanks for pointing this out.

    -Dave

  • 8160
    posted

    Hello Paul,

    thank you for pointing this out issue. I'm able to reproduce it. I will log it to our development team.