ADAdministrator Syncfusion Team December 9, 2003 07:26 AM
I tried this(from a class derived from GridDataBoundGrid):
CurrencyManager cm = (CurrencyManager)BindingContext[this.DataSource, "NameOfTableInNestedRelation"];
int index = cm.Position;
This is only working if the DataMember is the name of the root table of the DataSet.
ADAdministrator Syncfusion Team December 9, 2003 08:10 AM
It is not too easy to get the position in the original table, but it is pretty straight forward to retrieve tbe item itself. Below is some code.
If you need the position, then you could try to find the retrieved item in the table somehow.