angular-ui/ui-grid

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

Open

#6.835 geöffnet am 15. Aug. 2018

Auf GitHub ansehen
 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
grid-edithelp wanted

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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
};

Contributor Guide