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
135
How to ask save confirmation message in iggrid when user Clicks Add but doesn't clicks done or Cancel
posted

Hi Team

1) If the user clicks on Add link in iggrid

2) Fills the details in the grid columns

3) Without clicking Done or Cancel if the user comes out of the grid by clicking on any other part of the page or on next row.

4) The data which was entered after clicking Add gets lost. Can we popup save confirmation message in iggrid when user Clicks Add but doesn't clicks done or Cancel

5) I couldn't find any event where I can put this validation.

6) Please refer the attached image "AddRowValidation.jpg" for graphical details of the point. 

Any assistance is highly appreciated. 

Thanks.

Parents
No Data
Reply
  • 9190
    Offline posted

    Hi Ankush Mahajan,

    Thank you for posting on our forums.

    I recommend using the igGridUpdating EditRowEnding event to perform this validation on the client. To experience this event firing, please review the sample linked below:
    http://igniteui.com/grid/editing-api-events

    Also, to learn more about the igGridUpdating feature, please review the igGridUpdatingEditRowEnding API documentation.

    Please let me know if you have any questions regarding this matter.

Children