Hi All,
When expanding my rowdetails I get the following error:
jqx-all.js:7 Uncaught TypeError: Cannot read property ‘apply’ of undefined
Please find code snippet attached:
$scope.settings = {
source: $scope.persons,
width: 800,
height: 300,
rowdetails: true,
rowdetailstemplate: {
rowdetails: "<div style='margin: 10px;'>Row Details</div>",
rowdetailsheight: 50
},
initrowdetails: getRowDetails,
columns: [
{ text: 'Id', dataField: 'ID', width: 150 },
{ text: 'Name', dataField: 'firstname', width: 200 },
{ text: 'Report', dataField: 'report', width: 200 },
],
}
var getRowDetails = function (index, parentElement, gridElement, datarecord) {
var tabsdiv = $($(parentElement).children()[0]);
//tabsdiv.append("Details for: ")
}
Anybody who can help me out here?
Thanks