jQWidgets Forums
jQuery UI Widgets › Forums › Grid › onHover event in grid
Tagged: grid tooltip image
This topic contains 7 replies, has 4 voices, and was last updated by sved 11 years, 10 months ago.
-
AuthoronHover event in grid Posts
-
I want to display an image when the mouse is hovering over a specific cell in each row (a different image for each row). Unfortunately there is no onHover event for the jqxGrid but I believe that one can associate the jqxTooltip with the cell. The problem is that every row has a different image and I will have to create a jqxTooltip for every row and must get the id of the cell in each row.
My question is whether that is the appropriate and most efficient way of doing it or whether I can utilise the tooltip, by enabling enabletooltips, in some way?
Hi Johan,
There is no Hover event in jqxGrid and there’s no built-in integration of jqxTooltip and jqxGrid.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comIs there any way to work around this? I would think most jq grid products have some mouse events. Even the very lightweight “flexigrid” has mouseover functionality. Can a standard $jquery mouseover event be associated with (bound to) a cell?
Hi avpman,
You can take a look at the supported events in the Grid’s Events section of the API Documentation. There are cellclick, celldoubleclick, etc. events. Hover event is built-in, but there is no event in the API.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI’m confused. What does “Hover event is built-in, but there is no event in the API” mean? If there is a hover event built-in what does it do? How can I gain access to it if there is no corresponding event in the API?
Hi avpman,
By hover event is built-in, I mean that we handle mouse hovers in the widget and add appropriate CSS styles to the grid cells on hover. There is no “hover” event in the API and we do not raise such event in the Grid.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comAhh makes sense now. Your grid is perfect for my project but I must have hover events. Basically as the user hovers over the cells in a particular column we need to trigger a tooltip specific to that cell. The text of the tip needs to be constructed from the data in the row of the cell he is hovering over (including data in hidden columns.) I have researched a dozen or more grids looking for other specific features. Yours is the only one that meets ALL our criteria except for the hover/tooltip capability. 🙁
Did you find a solution to this missing functionallity? I have to implement similar behaviour in my project, hope I can easy implement it without a hack.
-
AuthorPosts
You must be logged in to reply to this topic.