1. #1
    Sencha User
    Join Date
    Mar 2009
    Posts
    240
    Vote Rating
    0
    r_honey is on a distinguished road

      0  

    Default [2.2.1] Finding the currently editable cell (the current cell) of the GridPanel

    [2.2.1] Finding the currently editable cell (the current cell) of the GridPanel


    I need to find the currently editable cell (the current cell) of the GridPanel. I could not find the function or documentation for this. Can anyone tell me any way to find out the current GridPanel cell in edit mode (its row & col no)??

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,004
    Vote Rating
    650
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Code:
    console.log(myGrid.activeEditor.row);
    console.log(myGrid.activeEditor.col);
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    current cell being edited (use @evant's suggestion),
    or next editable cell (see http://extjs.cachefly.net/ext-2.3.0/...isCellEditable) ?

  4. #4
    Sencha User
    Join Date
    Mar 2009
    Posts
    240
    Vote Rating
    0
    r_honey is on a distinguished road

      0  

    Default


    Thanx a ton evant, that was the missing link to my plugin that I was trying to create for GridPanel.

Thread Participants: 2