24 Oct 2012 12:25 AM #1
Unanswered: currentPosition not always currentPosition in grid?
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???
27 Oct 2012 12:58 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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 setMitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.