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
1730
events not firing
posted

Hi,

I want to use databinding event, but nothing is getting fired. Below is the code:

//Initialize
$("#mGrid").igGrid(
{
     //databinding event
      dataBinding: function(evt, ui){
                                 alert("do something");
                        }});

});

Any help would be appreciated.

Parents
No Data
Reply
  • 19693
    posted

    Hello sanjaysutar ,

    Thank you for posting in our forums.

    The only issue in your code snippet is the syntax error (there are too many brackets, and the semicolon is not needed) :

    //Initialize 

    $("#mGrid").igGrid( {    

    ....... 

    //databinding event      

    dataBinding: function(evt, ui){

                                     alert("dataBinding do something");

                            },

    .....

    });

    Please refer to the API documentation:

    http://help.infragistics.com/jQuery/2012.1/ui.igGrid#events

    Hope this helps.

Children