Results 1 to 2 of 2

Thread: Is it possible to detect which item in a Grid the mouse is hovering over?

  1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    142
    Vote Rating
    4
      0  

    Default Is it possible to detect which item in a Grid the mouse is hovering over?

    I was looking at the API, and couldn't seem to find anything that correlates to this.

    I have a Grid, and wish to determine which object from the ListStore is represented by the row being hovered over with the mouse. How can this be done?

    Thanks.

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Answers
    60
    Vote Rating
    131
      0  

    Default

    Yes this is possible, but not directly. You could listen for the onmouseover and onmouseout events and check their takes if it is a row (gridView.findRow).

    We are doing something similiar already on GridView.handleComponentEvent to get the track mouse feature.

Posting Permissions

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