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
1145
iggrid updating startedit
posted

The startedit documentation references a 3rd parameter:

  • e
  • Type:object
  • Optional
  • Browser event. If it is defined, then events are raised.

Can you please provide an example of how I pass this? How do I create a browser event?

Is there documentation that explains how to do this?

Parents
  • 18204
    Offline posted

    Hi Pete Davis,

     

    Thanks for posting on our forums!

    Browser events are created by the browser and passed into certain events.  This is usually used to propegate an event through to other elements and is not always needed.

    You can find more information on browser events here:

    http://eloquentjavascript.net/chapter13.html

    * Please note this site is not owned or maintained by Infragistics.

     

    If the browser event is not passed into the event you are calling startEdit in, you shouldn't need to provide it to startEdit.

    A simple example of passing this in would be during a click event:

     $("#btnEdit").on("click", function(evt) {
        $("#grid1").igGridUpdating("startEdit", 0, 0, evt);
    });

    If you have any further questions or concerns with this, please let me know and I will be glad to help.

Reply Children
No Data