jQWidgets Forums

jQuery UI Widgets Forums Grid Nested Grid : Clarification

Tagged: 

This topic contains 1 reply, has 1 voice, and was last updated by  Keshavan 11 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Nested Grid : Clarification #48183

    Keshavan
    Participant

    Hi,

    In the following code,
    What Exactly does parentElement, gridElement, and $($(parentElement).children()[0]) refer to ?
    How are those values passed to the function.

    Thanks,

    Keshavan

    var initrowdetails = function (index, parentElement, gridElement, record) { var id = record.uid.toString(); var grid = $($(parentElement).children()[0]); var filtergroup = new $.jqx.filter(); var filter_or_operator = 1; var filtervalue = id; var filtercondition = ‘equal’; var filter = filtergroup.createfilter(‘stringfilter’, filtervalue, filtercondition); var ordersbyid = []; for (var m = 0; m < orders.length; m++) { var result = filter.evaluate(orders[m][“EmployeeID”]); if (result) ordersbyid.push(orders[i]); } var orderssource = { datafields: [ { name: ‘EmployeeID’ }, { name: ‘ShipName’ }, { name: ‘ShipAddress’ }, { name: ‘ShipCity’ }, { name: ‘ShipCountry’ }, { name: ‘ShippedDate’ } ], id: ‘OrderID’, localdata: ordersbyid }`

    Nested Grid : Clarification #48188

    Keshavan
    Participant

    Hi,

    Please Ignore Post.

    Thanks,

    Keshavan

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

You must be logged in to reply to this topic.