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!
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
Thanks Steve.
Any shorter-term work around? I am trying to get a project out to a customer this week.....
Hello,
You should be able to see your case now. Let me know if you still don't see it.
Thank you,
Sam
I don't see this case in My Support Requests?? Wanted to track when the fix is available...
I went ahead and worked around it by not using the new row functionality for now.
I have linked this behavior with an existing issue logged in our tracking system, with an issue ID of 60999. This issue has been fixed and currently is in quality engineering testing.
Should you require an untested build, I can make a request and provide it to you when it becomes available.
Please note that Untested service release carries significant risk for the fact that it has not gone through full QE testing, and regression testing cicle before official release.
If you decide to obtain untested build, please let me know.
You can view the status of all development issues connected to this case from the "Development Issues" tab, when viewing this case on the "My Support Requests" page of our website.
Sincerely,SamDeveloper Support EngineerInfragisticswww.infragistics.com/support
Unfortunately, not really,
Basically whats happening is that we look at the ItemsSource to learn about the data, so that we can create the columns and handle data management, etc.. When there isn't any Data, we generally check to see if its generic, if its, we can get the data's type from there and continue on. However, with the DDS, it doesn't provide any information, just an Entity object, which isn't useful.
With an internal fix, i can check to see if its an entity, and ask it create a new object, and use that to get the information, however, there isn't anything that you can really do on your end, besides including at least 1 item in the collection.
However, our Developer Support team, should be in contact with you shortly, and if you need the fix sooner, we can send you an untested build.