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
170
Programatically forcing AddRow to be accepted into the Grid
posted

This question is regarding the AddRow (that you get by setting AllowAddNew on the UltraGrid).

I want to programatically force its contents to be added to the grid - effectively adding its content to the grid and clearing out its current contents.

How can I do this?

Thanks. 

  • 23930
    Offline posted

    Hello Jeff,

    I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.

    Thank you for using Infragistics Components.

  • 23930
    Verified Answer
    Offline posted

    Hi Jeff,

    Thank you for posting in our forums.

    In order to add the contents of the AddRow to the grid you can use the Update method on the add row or to use the UpdateData method of the grid.

    I have attached a sample which demonstrates this approach. In the sample application if you enter anything in the AddRow, it will automatically be added to the grid.

    Please let me know if you have any additional questions.

    WG_ForceAddRow.zip