Results 1 to 4 of 4

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

  1. #1
    Sencha Premium User
    Join Date
    Mar 2009
    Posts
    243
    Vote Rating
    1
      0  

    Default [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 User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,970
    Vote Rating
    931
      0  

    Default

    Code:
    console.log(myGrid.activeEditor.row);
    console.log(myGrid.activeEditor.col);
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
      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 Premium User
    Join Date
    Mar 2009
    Posts
    243
    Vote Rating
    1
      0  

    Default

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

Posting Permissions

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