jQuery UI Widgets Forums Grid cellhover / hoveredrow / groupable

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 7 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • cellhover / hoveredrow / groupable #74847

    gruppenhaus
    Participant

    Hi there,

    using:

    $(“#yourgrid”).jqxGrid(
    {
    width: 890,
    height: 460,
    source: dataAdapter,
    editable: true,
    groupable: true,
    groupsrenderer: groupsrenderer,

    cellhover: function (element, pageX, pageY)
    {

    var index = $(“#mediengrid”).jqxGrid(‘hoveredrow’);

    var data = $(‘#mediengrid’).jqxGrid(‘getrowdata’, index-1);

    },
    …..

    the index returns the row including the grouped row. How to detect the ‘real’ row?

    Regards
    Chris

    cellhover / hoveredrow / groupable #74850

    Dimitar
    Participant

    Hi Chris,

    Please try the following:

    cellhover: function (element, pageX, pageY) {
        var cell = $('#yourgrid').jqxGrid('getcellatposition', pageX, pageY);
        var row = cell.row;
    }

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.