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
453
Adding a new record to ultragrid
posted

 

Hi,

I am using UltraGrid in my application. It is bound to a BindingSource, which in turn is bound to a BindingListView. Bindinglistview contains the details about my business objects, the structure is defined in the class. e.g.  Books - Name, Author, Description

Now, when I try to populate the grid, it works fine. But I need to know how should I add the data such that, it is reflected in the business objects also.

Can anyone please advise me on this?

Thanks

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    What part of this is giving you trouble?

    If you wan the user to be able to add new rows to the grid, you would set the AllowAddNew property on the Override. TemplateOnBottom is a popular option which gives the user an addnew row at the bottom of each island of data.

    If you want to add a row in code, then it's probably easier to just add the row to the data source rather than through the grid.