How to get the text from the active cell of a grid
I want to get the text from the active cell of a grid, but when i call the GetText(row) function, i get an empty string or that text what was in the cell before got the focus.
How can i get the active cell value from the grid.
When I used Matrix, i did this:
Text = oMatrix.Columns.Item("Col1").Cells.Item(1).specific.String
I tried the following ways:
Text = oGrid.DataTable.GetValue("Col1", Row)
Text = oGrid.DataTable.Columns.Item("Col1").Cells.Item(Row).Value
Text = CType(oGrid.Columns.Item(ColUID), SAPbouiCOM.EditTextColumn).GetText(Row)