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
    St. Louis, MO
    Posts
    33,666
    Vote Rating
    435
    Answers
    3109
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      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
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost in print!

    When posting code, please use BBCode's CODE tags.