Call me stupid but I have a question. (i'm new to infragistics Grid)
I have an iList of class objects with propery get/sets. I added columns at design time and bind the datasource at runtime. I use Grid.SetDatabinding(iList, nothing,True) to bind my data to the grid. Everything shows up correctly.
I have some cells that are editable (as least I think I have them set that way) but when I edit the value it does not call back to the associated class object for that row and update the property.
The before and after update events fire but the data is not updated.
It may be something simple but I'm stuck.
Anyone have a sample of the "correct" way to bind to a ilist of classed so it writes back to the property?
I tried this with an IDictionary of simple objects that have one settable property, and when I bound the grid to the Values collection, I was able to edit the cell, and I saw that the associated property's setter was called, triggered by the PropertyDescriptor.SetValue method, which is called by the grid when a cell value is set. I have to assume there is something about the object in your list that won't accept editing. If you want to attach a sample we can take a look.
Sorry, i should have said I'm binding to an iDictionary.Values, not iList.