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
20
How to change editMode feature of igGrid by events
posted

I'm using Infragistics Jquery 2012.

I have an igGrid

In initialize i set editMode='none'

features: [{
                   name: "Updating",
                   enableAddRow: true,
                   editMode: 'none',
                   enableDeleteRow: true                 
               }]

by an event i want to set editMode='row'

I tried:

 $("#mnEdit").click(function () {             
                   $('#grid').igGridUpdating("option", "editmode", "row");
               });

but it's not OK

pls tell me how to fix it

tks.

Parents
No Data
Reply
  • 24497
    posted

    Hi Cao,

    The second parameter in function with "option", should contain exact name of option including possible capital letters.
    Please use

    $('#grid').igGridUpdating("option", "editMode", "row");

Children
No Data