Hi
I've got a Master Detail grid bound to a BindingList of objects returned from Linq. I've got almost everything working. I can add items to the Master level, I can edit items in the master level etc. This was not easy. I had to override a bunch of classes to get this to work the way I wanted it to work.
To get the details view, I've overriden the DataGridDetailDescription class as described in the examples. The problem is that the GetDetailsForParentItem returns an IEnumerable, so when I want to insert a new row in the details table I get the dreaded "An attempt was made to add a new data item to a source that does not support insertion." message.
Is there any way that I can get bind to the details level to the child relationships of linq objects, and have these detail rows insertable?
Without this functionality, the whole premise of what I'm trying to do with the grid falls flat.
Thank you