Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
Editor showing behind CellValuePresenter when navigating using keys
posted

5822.TestXamDataGrid.zip

Hi,

This is a bit of a long one, so please bare with me.

Due to having a complex and dynamic data structure to display and edit (tree of data with dynamic number of rows and columns), I had to create the several Field Layouts and Columns in the code behind.

I'm using multiple Field Layouts because even though the data and columns are the same, I want the columns in the nested rows to align with the parent, but maintain the identation on the left. In order to achieve that I created a different Field Layout per row level, with differect first column widths to compensate for the margin indentation.

I also need to cell navigation using the arrow keys.

All this works when using the mouse to select and edit a cell.

When I navigate to a cell using the arrow keys, the editor shows "behind" the cell value presenter. This is especially bad because when I style the CVP to have a background colour, it completely hides the editor and we don't know what or if we are editing anything.

Please find attached a sample project that will help ilustrate my problem.

To see the issu just run the project, select the first cell, press the down arrow key so that the cell below is editable and type a value.

The editor will show "behind" the current value of the cell.

Thank you for your help.

Parents Reply Children
No Data