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
345
DataSource does not support adding new rows
posted

I know there are several of these questions, but none that I found answer my question.  I have a BindingSource with a class object as it's data source.  The class object contains a bunch of properties, and a list of items (Csla BusinessListBase<Ts, T>)  I have an UltraGrid bound to the 'items' property of the BindingSource.

I can save, update, and delete just fine.  If I place a button on the form, on click, I can use 'currentClassObject.Items.AddNew()' to add a new row in the grid.  But using the standard template add row does not work.  I get 'Data source does not support adding new rows'.  Does this make sense?  Like, if it really didn't support adding rows, why does 'AddNew' work?