jQWidgets Forums

jQuery UI Widgets Forums Grid onHover event in grid

This topic contains 7 replies, has 4 voices, and was last updated by  sved 11 years, 10 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • onHover event in grid #11702

    jmarais
    Participant

    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?

    onHover event in grid #11704

    Peter Stoev
    Keymaster

    Hi Johan,

    There is no Hover event in jqxGrid and there’s no built-in integration of jqxTooltip and jqxGrid.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    onHover event in grid #13332

    avpman
    Member

    Is 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?

    onHover event in grid #13336

    Peter Stoev
    Keymaster

    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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    onHover event in grid #15214

    avpman
    Member

    I’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?

    onHover event in grid #15215

    Peter Stoev
    Keymaster

    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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    onHover event in grid #15238

    avpman
    Member

    Ahh 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. 🙁

    onHover event in grid #23070

    sved
    Participant

    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.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.