Results 1 to 3 of 3

Thread: Grid binding with onMouseOver event

  1. #1
    Ext User
    Join Date
    Dec 2008
    Posts
    13
    Vote Rating
    0
      0  

    Default Grid binding with onMouseOver event

    How can i catch onMouseOver event on a grid? I have to do some action when the row is highlighted (when mouse is over the row) - not clicked or double clicked. Is it possible to change somehow the code of grid binding example (http://extjs.com/explorer/#gridbinding) to work like that? Please help me, i've read all threads about grid events, but i still don't know how to do it, becouse on... events are not connected with grids. I need the binding of the row would be executed when i move over that row with mouse.

    Thanks

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
      0  

    Default

    Have a look at the source of GridView and in particular the handleComponentEvent(ComponentEvent ce) method that handles the ONMOUSEOVER events. From this you should be able to capture the same mouseover event and determine the row the same way in this method.

  3. #3
    Ext User
    Join Date
    Dec 2008
    Posts
    13
    Vote Rating
    0
      0  

    Default

    Thanks, that's it.

Posting Permissions

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