DataGrid: Prevent Space key from selecting the cell when it is pressed from an inner control
1 comment
Miquel
Posted on:17 May 2017 08:25
I'm trying to write a text in the cell below.
<telerikGrid:DataGridTemplateColumn Header="Comentarios" SizeMode="Fixed" Width="400">
<telerikGrid:DataGridTemplateColumn.CellContentTemplate>
<DataTemplate>
<TextBox Text="{Binding Comment, Mode=TwoWay}" Style="{StaticResource DatagridCommentEditBox}" />
</DataTemplate>
</telerikGrid:DataGridTemplateColumn.CellContentTemplate>
<telerikGrid:DataGridTemplateColumn.SortDescriptor>
<telerikCore:PropertySortDescriptor PropertyName="Comment"/>
</telerikGrid:DataGridTemplateColumn.SortDescriptor>
</telerikGrid:DataGridTemplateColumn>
To reproduce the problema:
1- Select some Row by clicking inside the Table.
2- Select a "Comentarios" cell to edit.
3- Begin writting some text.
4- While wrtiing a comment and when clicking the "Space bar button" the cursor disappears. It's not possible text a complete Comment. I need to click inside the cell each time.
It will be a great to prevent this issue.