We are using jqx-grid in our project and using nested grids. In order to init the child grid the main grid setting need to be initialized using initrowdetails. But the initrowdetails does not get the method specified in settings object. If I pass an object to initrowdetails it gets initialized, but not a function.
$scope.settings = {
initrowdetails: function(index, parentelement,gridelement, row){
console.log(index);
},
rowexpand: function(event){
console.log($scope.grid.initrowdetails);
}
};
<jqx-grid jqx-instance="grid" jqx-settings="settings"></jqx-grid>
The rowexpand console log shows undefined.
But if I say initrowdetails : ‘sometext’, console prints the text.
The work around I am doing is to hook the initrowdetails method to grid on rowexpand.
Please can you address this issue, or am I missing something.
Thanks,
Vijith