Hi Brandon,
You can access the selected items like this:
foreach (SelectedRecord selectedRecord in Grid.Table.SelectedRecords)
{
TypeBoundToDataGrid typeBound= selectedRecord.Record.GetData() as TypeBoundToDataGrid ;
}
Please Note: You will need to turn on the selection mode in the grid by doing this:
For MultiSelection:
Grid.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
Grid.TableOptions.AllowSelection = GridSelectionFlags.None;
Grid.TableOptions.ListBoxSelectionColorOptions = GridListBoxSelectionColorOptions.ApplySelectionColor;
Grid.TableOptions.ListBoxSelectionCurrentCellOptions =
GridListBoxSelectionCurrentCellOptions.WhiteCurrentCell
| GridListBoxSelectionCurrentCellOptions.MoveCurrentCellWithMouse;
For SingleSelection
Grid.TableOptions.ListBoxSelectionMode = SelectionMode.One;
Grid.TableOptions.AllowSelection = GridSelectionFlags.None;
Grid.TableOptions.ListBoxSelectionColorOptions = GridListBoxSelectionColorOptions.ApplySelectionColor;
Grid.TableOptions.ListBoxSelectionCurrentCellOptions =
GridListBoxSelectionCurrentCellOptions.WhiteCurrentCell
| GridListBoxSelectionCurrentCellOptions.MoveCurrentCellWithMouse;
Josh