Hi,
I have a Class A which implements bindinglist<B> and ITypedList and am using it as a datasource for grid. Internally i use propertydescriptors which allows user's to add new columns dynamically to the grid.If user' decides to rename the newly added customproperty, how can i do that?
I am trying to implement by renaming the property in my underlying object which in turn shoud reflect in the grid when it queries property descriptor collection. It partly works when there is no data for that column and i can rename as manay times i want. But when i type some value on the column and then i try to rename the property, It throws me a runtime exception where grid can't load
"Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Source: mscorlib
Help link:
Stack:
at System.Collections.ArrayList.get_Item(Int32 index)
at Infragistics.Win.UltraWinGrid.CellsCollection.HasCell(Int32 index)
......"
I really appreciate ur help.
Thanks,
Valliappan
Hello Valliappan,
I believe that similar issue has already been discussed at the following forum thread:
http://community.infragistics.com/forums/t/63679.aspx
Please feel free to let us know if you have any other questions.
Thanks Danko, this is a duplicate post that got accidently posted.