Hi,
I am using Q3 2015.
I have editable RadGridView with two rows: Name and Count.
Name is editable.
Count is readonly.
When user clicks on "new row indicator" new row is created and focus is set to Name cell.
User enters text in name cell and clicks on "Count" cell.
My problem is that row remains in edit mode, "new row indicator" is not visible. User is confused because he thinks that edit is finished and there is no way to add another row.
To finish row edit user have to use tab key or click on any other control. Is there a way to end edit mode when any of readonly cells are focused?
My grid configuration:
<
telerik:RadGridView
x:Name
=
"DocumentPositionsGridView"
Style
=
"{StaticResource EditableGridViewStyle}"
SelectionMode
=
"Extended"
ItemsSource
=
"{Binding Data, ValidatesOnDataErrors=True, NotifyOnValidationError=True}"
ValidatesOnDataErrors
=
"InViewMode"
AddingNewDataItem
=
"DocumentPositionsGridView_AddingNewDataItem"
CellEditEnded
=
"DocumentPositionsGridView_CellEditEnded"
CanUserDeleteRows
=
"{Binding CanEditDocumentPositions}"
CanUserInsertRows
=
"{Binding CanEditDocumentPositions}"
NewRowPosition
=
"{Binding CanEditDocumentPositions, Converter={StaticResource BooleanToGridViewNewRowPositionConverter}}"
ShowColumnFooters
=
"True"
>
<
Style
x:Key
=
"EditableGridViewStyle"
TargetType
=
"{x:Type telerik:RadGridView}"
BasedOn
=
"{StaticResource RadGridViewStyle}"
>
<
Setter
Property
=
"ShowGroupPanel"
Value
=
"False"
/>
<
Setter
Property
=
"AutoGenerateColumns"
Value
=
"False"
/>
<
Setter
Property
=
"IsFilteringAllowed"
Value
=
"False"
/>
<
Setter
Property
=
"GroupRenderMode"
Value
=
"Flat"
/>
<
Setter
Property
=
"NewRowPosition"
Value
=
"Bottom"
/>
</
Style
>