jQWidgets Forums

jQuery UI Widgets Forums Grid Nested Grid issue

This topic contains 1 reply, has 2 voices, and was last updated by  Todor 5 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Nested Grid issue #106031

    Amused23
    Participant

    I have a peculiar situation. I need to get the row details when rowclick is fired. Based on values in the datarow, I fire a query in php to obtain the desired json output. The problem is, how do I generate the nested grid after rowclick as the nested grid depends on the values from datarow. Something like below:

    $("#grid").bind('rowclick', function (event) {
      var row = event.args.rowindex;
      datarow = $("#grid").jqxGrid('getrowdata', row);
      // getting row details //
      url = datarow.url;
      keyword = datarow.keyword;
      ------ etc ---------
      // url for the php depends on url and keyword etc.
      // functionality for showing the nested grid //
      
    });
    

    I am stumped at functionality for showing the nested grid. Help is appreciated.

    Thanks.

    Nested Grid issue #106038

    Todor
    Participant

    Hello Amused23,

    Please review the following example whether it fits your needs.

    Let us know if you need further assistance.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.