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
585
Add new row issue
posted

I am using the AddNewRow capabilities of the xamGrid and have run into an issue.

I am setting the ItemSource to a DomainDataSource and using a query with parameters.  All works well if the Load produces resulting entities.  The existing rows are displayed and I can click into the New Row and edit to add new rows, submit to the DB, etc.

However, if the original query does not return any results, I cannot click into the New Row to put into edit mode.  The grid is still bound to the DomainDataSource it just does not currently contain items.

Help?  What do I need to do here to enable the AddNew functionality in this scenario?  I would expect the grid to still allow entry of new rows.

Thanks!

Parents Reply Children