Home Forums WPF controls Xceed DataGrid for WPF Arrow keys not working (under certain conditions)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #24969 |

    Our testers logged the following as an issue. Here are the repro steps:

    1) Display a grid that is only partially filled (has a blank area at the bottom)
    2) Select a record in the list
    3) Click on the blank area
    4) Try using the up or down arrow to move to the previous/next record

    Are there any workarounds that I can implement to get around this issue?

    Thanks in advance!

    Imported from legacy forums. Posted by Lori (had 468 views)

    Xceed Support
    Post count: 5658

    This behavior is not a bug per say as it was intentionally placed there to allow scrolling the content of the DataGridControl without the need of having a current item / current column.

    I understand however that this behavior might not be “optimal” for some users and here is a workaround to disable this altogether.

    Simply place this implicit style “above” your DataGridControl (or int its resource dictionary):

    <Style TargetType=”{x:Type xcdg:TableViewScrollViewer}”>
    <Setter Property=”Focusable” Value=”False” />

    Note: This workaround should not be used along with DataGridControl.NavigationBehavior = None.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 2680 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.