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.