Results 1 to 2 of 2

Thread: currentPosition not always currentPosition in grid?

  1. #1
    Sencha User
    Join Date
    Aug 2008
    Posts
    42
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •