I have selected a value on a previous screen that is going to
be used on other screens. That value is in a datagrid cell on one
of the new screens and I want to select that row given that value.
Do I have to loop through the datagrid to find it or is there some
I know you can select a row with the following:
datagrid.selectedIndex = index;
What I want to do is find the index of the row that contains
the value from the previous screen.
The simple answer is that you do have to loop through to find
it. However, you can store ample data in the grid's data provider
that does not show up in the grid (i.e. remove columns you don't
want displayed). So if you can place some object in the data
provider of both grids that you can use to tie them together then
you would not have to loop through the second grid to find