Question about EditableRootListQuestion about EditableRootList
Old forum URL: forums.lhotka.net/forums/t/1053.aspx
DanEssin posted on Monday, August 28, 2006
If you've got an EditableRootList bound to a grid, is there a concept of a "current" record? In otherwords, is there some way to refer to the EditableRootList object and automatically retrieve the properties of the record that is displayed in the grid as the "current" row?
I know how to do a GetItem but that requires me to read the grid, extract the id of the item that I want to retrieve from the collection and then call GetItem. What I would like is a set of properties that always exposed values that were derived from the "current" record.
Any help would be appreciated greatly.
RockfordLhotka replied on Monday, August 28, 2006
Currency is managed by the BindingSource control - that is one of its major responsibilities. So that is the place you should go to find the current row/object.
DanEssin replied on Tuesday, August 29, 2006
thanks
RockfordLhotka wrote:
> Currency is managed by the BindingSource control - that is one of its
> major responsibilities. So that is the place you should go to find the
> current row/object.
>
>
> Copyright (c) Marimer LLC