angular-ui/ui-grid

UI Grid editor: losing focus on switch window

Open

#7 086 ouverte le 6 juin 2020

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)JavaScript (2 496 forks)batch import
a11yhelp wanted

Métriques du dépôt

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

Description

Hi there,

I am not sure it is a bug or not so I am going forward to write it.

I am using

<div class='col-md-12'>
    <div id="journal-grid" ui-grid="journalGrid.options"
        ui-grid-edit
        ui-grid-row-edit
        ui-grid-cellNav
        ui-grid-resize-columns
        ui-grid-auto-resize
        class="grid mt10"></div>
</div>

The ui-grid-edit I think it allows to edit the grid inline. So when I click a cell in the grid it lets me in to the input to edit it. But when I switch window to copy some text and return the previous window where the grid is, the cell that I was editing lost the focus.

Is there a way to keep the focus even when switch the window and return back? Is it a bug or what I am asking is a new feature?

Many thanks..

Guide contributeur