angular-ui/ui-grid

Editing a cell with enableCellEditOnFocus: true, arrow keys navigate to another cell

Open

#6 835 ouverte le 15 août 2018

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)JavaScript (2 496 forks)batch import
grid-edithelp wanted

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

When using the enableCellEditOnFocus: true, when editing a cell in the text input, using the arrow keys should navigate between characters, but instead navigates to a different cell. This can be observed in the ui-grid tutorial example for cell edit at http://ui-grid.info/docs/#!/tutorial/Tutorial:%20301%20Edit%20On%20Focus

I'll provide my ui-grid config just for clarity, but since the provided tutorial example suffers from the same bug, this seems to be a global issue.

const gridOptions = {
    enableSorting: false,
    enableFiltering: false,
    enableRowSelection: true,
    enableRowHeaderSelection: true,
    enableSelectAll: true,
    multiSelect: true,
    noUnselect: false,
    enableCellEdit: true,
    enableCellEditOnFocus: true
};

Guide contributeur