extjs 4 getLastSeletedCell en una cuadrícula

i worked on a grid in extjs 4 and i want to show an editor if someone has ben clicked to times on the same cell. now i have the problem that i cant find a method like grid.getSelectionModel().getLastSeletedCell() to check in a beforechange event if the last selected cell has been changed.

i tried grid.getSelectionModel().getCurrentPosition() and getSelection but both returns null only grid.getSelectionModel().getLastSelected() returns the record but in this case i can only check the row and not the column which was selected. does have anyone an idea how to check if someone has ben clicked to times on the same cell?

preguntado el 24 de agosto de 12 a las 10:08

1 Respuestas

i feel, selected cell can be found using below way while using cellSelectionModel with grid.


You need to store the selected some how to perform your operation.

Respondido 24 ago 12, 12:08

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.