Hi,
Is it possible to add a new row on the keydown event and not lose focus in the cell the event was trapped in. I know I can use gridView.BeginInsert(), but this causes focus to be lost from the cell that was being edited. Specifically, we are trying to have an empty row, begin adding data to that row, while we are adding data to that row (only on the first keydown event of that row) we want a new (empty) row to appear and still have focus on the original row (cell) so we can continue adding data.
Also, on a related note, is adding an object to our ItemsSource bound collection the only way to have an empty last row in the GridView?
Thanks,
Mike
Is it possible to add a new row on the keydown event and not lose focus in the cell the event was trapped in. I know I can use gridView.BeginInsert(), but this causes focus to be lost from the cell that was being edited. Specifically, we are trying to have an empty row, begin adding data to that row, while we are adding data to that row (only on the first keydown event of that row) we want a new (empty) row to appear and still have focus on the original row (cell) so we can continue adding data.
Also, on a related note, is adding an object to our ItemsSource bound collection the only way to have an empty last row in the GridView?
Thanks,
Mike