CM
Christian Martel
June 14, 2005 02:31 PM UTC
I found what I needed!
Try
Dim cc As GridCurrentCell = grdSearch.CurrentCell
Dim renderer As GridCellRendererBase = cc.Renderer
Dim style As GridStyleInfo = grdSearch(cc.RowIndex, cc.ColIndex)
grdSearch(cc.RowIndex, cc.ColIndex).Text = renderer.ControlValue.ToString()
ValidateSearch()
Catch ex As Exception
MsgBox(ex.Message)
End Try
>Hi, I''m implementing a grid containing a autocomplete combobox. When the user is pressing a key, I want to get the displayed value in the combobox. The grid.cellValue is empty at that time. How can I get the value before the user pressed the Enter key?
>
>Thanks for your help!
>
>Chris
>
>Using : VB.NET + Grid 3.0.0.19