Dependent combobox?

Stimulsoft Reports.NET discussion
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Dependent combobox?

Post by Edward »

Hi, Jennifer.

Please use the following code:

Code: Select all

DataGridCell myCell;
myCell = GridControl1.Control.CurrentCell;
DataTable myTable;
// Assumes the DataGrid is bound to a DataView.
myTable = ((DataView) GridControl1.Control.DataSource).Table;
MessageBox.Show(myTable.Rows[myCell.RowNumber][myCell.ColumnNumber].ToString());
Thank you.
Attachments
103.GridControlAndCellValue.zip
(3.54 KiB) Downloaded 596 times
Post Reply