I'm encountering difficulties with binding $scope in angular and dxDataGrid.
Utilizing the devexpress library dx.all.js, which enhances the dxDataGrid with various features, I have a div for dx-data-grid and attempting to transfer the selected row data to the $scope variable.
According to Chrome debugger, both my $scope.ticketSelected variable and the selectedRowsData object are null. Here is the API
HTML CODE snippet:
Angular Code excerpt:
controller('homeController', function($scope, $routeParams) {
$scope.id = $routeParams.id;
$scope.ticketSelected = [];
$scope.items = [];
$scope.random = function() {
var s = 55;
s = Math.sin(s) * 10000;
s = s - Math.floor(s);
return s;
};
// Rest of the code follows...
}).