PDA

View Full Version : currentPosition not always currentPosition in grid?



abtrapp
24 Oct 2012, 12:25 AM
Ext.grid.plugin.CellEditing -> beforeedit -> grid.getSelectionModel().getCurrentPosition()

Normally this returns the current position of the editor that is opening.

However, if I am in an editor in another row I get the position of the previous position (the last opened editor).

Bug or feature???

Btw. Why is almost every text in the forum now in chinese/japanese/whatever???

mitchellsimoens
27 Oct 2012, 12:58 AM
For the text, unless you have japanese as your language selected (there is a drop down at the bottom of the page above the footer) it looks fine to me as I have English set.

When are you getting the currentPosition? Seems like it could be before it's set