PDA

View Full Version : [CLOSED] Mouse over event between grid cells on same row



vmehta
Jul 02, 2014, 2:38 PM
Hello,

I am doing a mouse out event on a grid command column. Is there is a way to capture the mouse out event when I move on the same row and different column? Only when I mouse out to a different row, mouse out works. On the same row, mouse out is not triggered.

Daniil
Jul 02, 2014, 7:31 PM
Hi @vmehta,

Unfortunately, there is no such the event in API.

You could listen to the mouseout event of cells in the following way:

App.GridPanel1.view.el.select("td.x-grid-cell").on("mouseout", function(e) {
console.log("mouseout", e.getTarget());
});

vmehta
Jul 03, 2014, 12:13 PM
Can you let me know where this function needs to be called?. We tried it in afterRender, OnReady and others, but could not get this working.

Daniil
Jul 03, 2014, 2:05 PM
I would try in a GridPanel's ViewReady event.

vmehta
Jul 03, 2014, 2:16 PM
We have tried that as well and it did not work.

Daniil
Jul 03, 2014, 2:25 PM
Please try to add Delay="1" for the ViewReady listener.

If it doesn't help, you are welcome with a test case.