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
3790
stop edit mode from advancing to next cell.
posted

I just need to find a way to use enter as submit not advanced to next cell.

Parents
No Data
Reply
  • 24497
    Verified Answer
    posted

    Hi Seang,

    The igGridUpdating does not expose option to disable/enable (tab/enter) triggers to start editing of next cell.

    Application may process editCellStarting event, check for "ENTER key" trigger and cancel that event. Below is example:

    $('#grid').igGrid({
     
    ...

      features: [{
         name: "Updating",
        
    //
       
    editMode: "cell",
       
    editCellStarting: function (evt, ui) {
           
    if (evt.keyCode === 13) {
               
    //document.forms[0].submit();
               
    return false;
           
    }
          }
      }]

    });

Children