angular-ui/ui-grid

Cell Edit and CellNav not working properly when fields have both cellTemplate and editableCellTemplate with horizontal scrolling.

Open

#6232 aperta il 25 mag 2017

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wanted

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

The grid initially is empty with a row and all the cells are editable and has both cellTemplates and editableCellTemplates. The values are entered in every cell and is navigated using tab. The cells are focused correctly and are editable till the viewport. Tabbing from the last cell of the viewport does scrolling correctly but the focus is lost and the focus is now on the first cell of the row we are editing. NOTE: It is working good if we either remove the editableCellTemplate or remove cellNavigation feature. But I want both these features in my grid. Can somebody help me with this. Any solution which can mimic the excel property in ui-grid is appreciable.

Here is the plunker link which reproduces the above issue -> http://plnkr.co/edit/RiWsn7DnifAmmVhFlfCL?p=preview

Guida contributor