#17 ReplaceObject method

open
nobody
Feature (10)
5
2012-10-30
2012-03-17
Ben
No

Although I'm specifically referring to the TreeListView this should be applied across all the objectlistview classes. Currently if I update the a modelobject in its source such as a database there is no clean way to have the changes be reflected in the TreeListView modelobject image. This applies to the scenerio where I populate my tlv from a database. And the database record is updated with new information and I want to have that information updated in the tlv. It would be perfect to have a method like this

tlv.ReplaceObject(tlv.SelectedObject, new object)
tlv.RefreshObject(tlv.SelectedObject);

Excellent job on this control Peter! I have totally moved away from the standard listview and treeview controls.

Regards
Ben

Discussion