jQWidgets Forums

jQuery UI Widgets Forums Grid Empty grid with jqxTooltip

This topic contains 5 replies, has 3 voices, and was last updated by  Peter Stoev 9 years, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Empty grid with jqxTooltip #79702

    Siva
    Participant

    There is no row in jqxgrid, but while hovering i’m getting then tooltip. Not every time some rare case. I have also cleared the content, but still having issue.

    if (cell.value && cell.value !== ‘0’) {
    tooltipContent = “Content”;
    displayToolTip = true;
    }
    } else if (cell.column == “Name” ||
    cell.column == “Product” ||
    cell.column == “Order” ||
    cell.column == “Cost”) {
    displayToolTip = true;
    tooltipContent = cell.value;
    }
    if ( displayToolTip )
    {
    $grid.jqxTooltip( { content: tooltipContent } );
    $grid.jqxTooltip( ‘open’, pageX + 15, pageY + 15 );
    }

    For that above code i need the solution.

    Empty grid with jqxTooltip #79708

    Peter Stoev
    Keymaster

    Hi Siva,

    Don’t open a tooltip when the Grid is empty then. You will probably have to check whether the Grid is empty or not. Such code is missing in the posted code.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Empty grid with jqxTooltip #79835

    bharathikannan
    Participant

    Hi Peter,

    Still we have issue in the same, we not able to disable the tool tip in empty grid. In our coding we did JQX grid with external JQX tooltip. Please share any ideas.

    Empty grid with jqxTooltip #79836

    Peter Stoev
    Keymaster

    Hi bharathikannan,

    I wrote you what you should do in my previous post.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Empty grid with jqxTooltip #79838

    bharathikannan
    Participant

    Hi Peter,

    Can you please give some example syntax to avoid this kind of issue.

    Empty grid with jqxTooltip #79839

    Peter Stoev
    Keymaster

    Hi bharathikannan,

    The issue is in the logic, not in the syntax. Check the Grid whether it is empty and if it is, then don’t call the “open” method of the tooltip.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.