jQuery UI Widgets Forums Grid why jqxgrid-api.htm not found getrowdetails??

This topic contains 2 replies, has 2 voices, and was last updated by  Dimitar 9 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • wiseinfo
    Participant

    jqwidgets 3.9.1 jqxgrid-api.htm not found getrowdetails ??

    getrowdetails Method

    Gets the rows details.
    Returns an object with the following fields:
    rowdetailshidden – determines whether the details are visible or not.
    rowdetailsheight – determines the details height.
    rowdetails – HTML string which contains the row details.

    i need ($(‘#grid’).jqxGrid(‘getrowdetails’, event.args.rowindex).rowdetailshidden

    $(‘#grid’).on(‘rowdoubleclick’, function (event) {
    // event.args.rowindex is a bound index.
    if ($(‘#grid’).jqxGrid(‘getrowdetails’, event.args.rowindex).rowdetailshidden == true)
    {
    $(“#grid”).jqxGrid(‘showrowdetails’, event.args.rowindex);
    }
    else {$(“#grid”).jqxGrid(‘hiderowdetails’, event.args.rowindex);
    }
    //hiderowdetails
    //alert(“Row with bound index: ” + event.args.rowindex + ” has been double-clicked.”);
    });


    wiseinfo
    Participant

    have other property isrowdetailvisible ???


    Dimitar
    Participant

    Hello wiseinfo,

    Thank you for your tip. We will update the documentation as soon as possible. Please note, however, that the getrowdetails method is supported and the code:

    $('#grid').jqxGrid('getrowdetails', event.args.rowindex).rowdetailshidden

    should work fine.

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.