1. #1
    Sencha User attu's Avatar
    Join Date
    Aug 2008
    Location
    Madrid, Spain
    Posts
    95
    Vote Rating
    0
    attu is on a distinguished road

      0  

    Default get coordinates of a cell in a EditableGridPanel

    get coordinates of a cell in a EditableGridPanel


    Hello!

    I've got some questions about EditableGridPanel.
    - Can i know how many rows i have in a EditableGridPanel?
    - When i focus on a cell of a EditableGridPanel, can i know exactly where i am? I mean, take the number of row and the number of the column...

    I've been looking the API, tutorials and forum and i didn't found anything. I know that i can use startEditing(x,y) function, but the problem is i don't know where i've focused...

    Thanks a lot in advance!

  2. #2
    Sencha User attu's Avatar
    Join Date
    Aug 2008
    Location
    Madrid, Spain
    Posts
    95
    Vote Rating
    0
    attu is on a distinguished road

      0  

    Default


    I'm still searching and i've found the cellclick listener, but i need to take the coordenates of a cell with a keyboard event...

    Thanks!

  3. #3
    Sencha User attu's Avatar
    Join Date
    Aug 2008
    Location
    Madrid, Spain
    Posts
    95
    Vote Rating
    0
    attu is on a distinguished road

      0  

    Default


    I also tried to call a mouse event from a keyboard event like this:
    Code:
    myGrid.fireEvent('cellclick');
    but it didn't work because i have to send row and column parameters...

    Any idea?

    Thanks!