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
  • 40030
    Offline posted

    Hi, 

    Sorry for the delayed response, but i was able to reproduce the issue. And it looks like something that we can get working in the xamGrid. Assuming your DomainService supports Updating and Inserting, and it sounds like it does. 

    I'll write this up as a bug, and hopefully we can get this in the upcoming Service Release planned for this month. 

    Thanks, 

    -SteveZ

Reply Children