i'm trying to make xceed datagrid behave like an excel in regards to data entry
I've almost have it, except for the ability to have cells enter into edit mode any Input Key Press except navigation ones like arrows , tag and enter .
<dg:DataGridControl Grid.Row="0" x:Name="dataGrid" ItemsSource="{Binding Items}"
IsDeleteCommandEnabled="true" AutoCreateColumns="false"
NavigationBehavior="RowOrCell"
EditTriggers="BeginEditCommand, ClickOnCurrentCell, CellIsCurrent"
ItemScrollingBehavior="Immediate"
>
<dg:DataGridControl.View>
<dg:TableView>
<dg:TableView.FixedHeaders>
<DataTemplate>
<dg:InsertionRow Focusable="True" InsertionMode="Continuous"/>
</DataTemplate>
</dg:TableView.FixedHeaders>
</dg:TableView>
</dg:DataGridControl.View>
<dg:DataGridControl.Columns>
<dg:Column FieldName="MAC" Title="MAC" >
<dg:Column.CellEditor>
<dg:CellEditor>
<dg:CellEditor.EditTemplate>
<DataTemplate>
<TextBox Text="{dg:CellEditorBinding}"/>
</DataTemplate>
</dg:CellEditor.EditTemplate>
</dg:CellEditor>
</dg:Column.CellEditor>
</dg:Column>
<dg:Column FieldName="Key" Title="Key">
<dg:Column.CellEditor>
<dg:CellEditor>
<dg:CellEditor.EditTemplate>
<DataTemplate>
<TextBox Text="{dg:CellEditorBinding}"/>
</DataTemplate>
</dg:CellEditor.EditTemplate>
</dg:CellEditor>
</dg:Column.CellEditor>
</dg:Column>
</dg:DataGridControl.Columns>
</dg:DataGridControl>