Select
Case
e.Column.Name
Case
"TestID"
Select
Case
e.Row.Cells(
"Status"
).Value
Case
1
e.CellElement.ForeColor = Color.Green
Case
Else
e.CellElement.ResetValue(LightVisualElement.ForeColorProperty, Telerik.WinControls.ValueResetFlags.Local)
End
Select
End
Select
Telerik.WinControls.UI dll version 2011.3.11.1219
and working with RadGridView object.
I have a RadGridView which contains a large possible values. (0-200000)
Right now the user can type the requested value inside a cell and than press ENTER.
The problem is that if I stand on a cell I can type a number but there is no visual feedback to the user that the cell is in edit mode.
I would like to mark (select) the current text on the cell when it's in EDIT mode (when user is typing and havn't pressed ENTER to end the editing, which means- found the number he wanted).
I tried to look for a property which will mark the text in the cell but found nothing...
dataGridViewSelectedValues.Rows[e.RowIndex]. -> No appropriate property!!
Another question would be- where do I marking the text- insideCellClick event or inside CellBeginEdit event ?
I'm attaching an image file that will demonstrate how my RadGridView is looking.
The lower image is how it looks when the user is typing 12 and the focus is still in the cell- there is no clue that we are in an EDIT mode.
Thanks,
Hila.