1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    42
    Vote Rating
    0
    abtrapp is on a distinguished road

      0  

    Default Unanswered: currentPosition not always currentPosition in grid?

    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???

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,645
    Answers
    3453
    Vote Rating
    816
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    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.

Thread Participants: 1