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
1365
adding new row with EF
posted

Hi All,

i'm working on EF basic CRUD with EF6 and wingrid. i'm following this article and it works pretty well except for hitting a snag at adding new rows to the grid.

http://es.infragistics.com/community/blogs/mihail_mateev/archive/2015/03/02/doing-crud-operations-with-infragistics-ultragrid-and-entity-framework.aspx

i am using an observablecollection as mentioned, but when i click the add button on the bottom of the grid i get "Unable to add a row:" underlying datasource does not support adding new rows. i'm pretty sure observablecollection does allow that. i've enabled adding rows feature. i don't have a seperate button like the example does.

my expectation is to see an empty row, fill in information, and after_gridupdate add the row to the underlying datasource. what am i missing...Mike :) ?

Thanks

Al

Parents
No Data
Reply Children
No Data