I am working in servoy 8.1.2 rc . The handler is not getting called . Please find the code below :
- Code: Select all
$scope.$watch('model.dataproviderID', function(newVal) {
//$scope.oldValue = $scope.value;
// $scope.value = event.value;
$(".dx-icon.dx-icon-clear").on('click', function() {
alert("yes");
$scope.handlers.onClearMethodID();
});
}
I could able to see the alert . But the handler is not getting called . Why ? . When I am writing the handler outside the jquery , it is getting called . Please provide some suggestions.